rosa-build/app/controllers/admin/base_controller.rb

5 lines
122 B
Ruby

class Admin::BaseController < ApplicationController
before_filter :authenticate_user!
load_and_authorize_resource
end