mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 16:09:52 +01:00
8 lines
224 B
Ruby
8 lines
224 B
Ruby
class ModerationController < ApplicationController
|
|
before_action :authenticate_user!
|
|
|
|
def toggle_unmask
|
|
session[:moderation_view] = !session[:moderation_view]
|
|
redirect_back fallback_location: root_path
|
|
end
|
|
end
|