8 lines
152 B
Ruby
8 lines
152 B
Ruby
module Admin
|
|
class AdminController < ApplicationController
|
|
|
|
before_filter :authenticate_user!
|
|
before_filter :redirect_unless_admin
|
|
|
|
end
|
|
end
|