Public scoreboard scaffold
This commit is contained in:
@@ -26,4 +26,8 @@ class ApplicationController < ActionController::Base
|
||||
flash[:error] = t "#{policy_name}.#{exception.query}", scope: "pundit", default: :default
|
||||
redirect_back_or_to(root_path)
|
||||
end
|
||||
|
||||
def not_found
|
||||
render file: "#{Rails.root}/public/404.html", layout: false, status: :not_found
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user