Class: Outpost::ResourceController

Inherits:
BaseController show all
Defined in:
app/controllers/outpost/resource_controller.rb

Constant Summary

Constants included from Controller::CustomErrors

Controller::CustomErrors::NOT_FOUND_ERROR_CLASSES

Instance Method Summary collapse

Methods included from Controller::Authentication

#current_user, #require_login

Methods included from Controller::Authorization

#authorize, #authorize_resource, #handle_unauthorized

Methods included from Breadcrumbs

#breadcrumb

Instance Method Details

#extend_breadcrumbs_with_resource_rootObject




8
9
10
# File 'app/controllers/outpost/resource_controller.rb', line 8

def extend_breadcrumbs_with_resource_root
  breadcrumb model.to_title.pluralize, model.admin_index_path
end