pundit: convert moderator/dashboard to pundit.
Make it visible to everyone since there's no non-public information here.
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
module Moderator
|
||||
class DashboardsController < ApplicationController
|
||||
before_action :member_only
|
||||
|
||||
def show
|
||||
@dashboard = Moderator::Dashboard::Report.new(**search_params.to_h.symbolize_keys)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user