Add an AdminController base class for Admin controllers

Handles stuff that's shared across admin controllers.
This commit is contained in:
Robert Speicher 2012-09-16 07:44:54 -04:00
parent 83f24de352
commit 925183ed7a
9 changed files with 27 additions and 44 deletions

View file

@ -1,6 +1,2 @@
class Admin::LogsController < ApplicationController
layout "admin"
before_filter :authenticate_user!
before_filter :authenticate_admin!
class Admin::LogsController < AdminController
end