11 lines
209 B
Ruby
11 lines
209 B
Ruby
|
module Ci
|
||
|
module Admin
|
||
|
class ApplicationController < Ci::ApplicationController
|
||
|
before_action :authenticate_user!
|
||
|
before_action :authenticate_admin!
|
||
|
|
||
|
layout "ci/admin"
|
||
|
end
|
||
|
end
|
||
|
end
|