Class: Admin::BaseController

Inherits:
ApplicationController
  • Object
show all
Defined in:
lib/generators/admin_interface/templates/setup/controllers/base_controller.rb

Overview

The AdminController is the parent class that makes sure all administrator actions require a logged-in User with an admin Role.

Direct Known Subclasses

ResourceController

Constant Summary collapse

@@tabs =
%w()

Instance Method Summary collapse

Instance Method Details

#indexObject

GET /admin/



18
19
# File 'lib/generators/admin_interface/templates/setup/controllers/base_controller.rb', line 18

def index
end