Port signup to new layout
This commit is contained in:
@@ -2,7 +2,10 @@ class Admin::BaseController < ApplicationController
|
||||
|
||||
before_action :authenticate_user!
|
||||
before_action :authorize_admin
|
||||
before_action :set_context
|
||||
|
||||
layout "admin"
|
||||
def set_context
|
||||
@context = :admin
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user