8 lines
241 B
Ruby
8 lines
241 B
Ruby
class Internal::ReactionsController < Internal::ApplicationController
|
|
def update
|
|
# raise
|
|
@reaction = Reaction.find(params[:id])
|
|
@reaction.update(status: params[:reaction][:status])
|
|
redirect_to "/internal/reports"
|
|
end
|
|
end
|