9 lines
145 B
Ruby
9 lines
145 B
Ruby
class Admin::BaseController < ApplicationController
|
|
|
|
before_action :authenticate_user!
|
|
before_action :authorize_admin
|
|
|
|
layout "admin"
|
|
|
|
end
|