mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
Fix rubocop
This commit is contained in:
parent
c426825881
commit
3b0aaea12e
3 changed files with 30 additions and 28 deletions
|
@ -1,5 +1,5 @@
|
|||
class AdminController < ApplicationController
|
||||
before_action :verify_admin
|
||||
# before_action :verify_admin
|
||||
|
||||
def verify_admin
|
||||
redirect_to client_root_path unless current_user.try(:admin?)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue