Retrospring/app/controllers/ajax/friend_controller.rb

14 lines
269 B
Ruby
Raw Normal View History

2014-11-30 05:45:32 -08:00
class Ajax::FriendController < ApplicationController
def create
@status = :okay
@message = "Successfully followed user."
@success = true
end
def destroy
@status = :okay
@message = "Successfully unfollowed user."
@success = true
end
end