mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
18 lines
435 B
Ruby
18 lines
435 B
Ruby
module Admin
|
|
class AdminController < ApplicationController
|
|
layout 'admin/layouts/admin'
|
|
before_filter :authenticate_admin_user!
|
|
before_filter :admin_menu
|
|
|
|
force_ssl host: APP_CONFIG[:ssl_hostname]
|
|
|
|
def admin_menu
|
|
@admin_menu = { dashboard: '',
|
|
admin_users: '',
|
|
categories: '',
|
|
photos: '',
|
|
pages: '' }
|
|
end
|
|
end
|
|
end
|