mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-08 03:53:36 +01:00
13 lines
269 B
Ruby
13 lines
269 B
Ruby
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
|