Class: Admin::BaseController

Inherits:
ApplicationController
  • Object
show all
Includes:
CacheableFlash, ContentHelper, ResourceHelper
Defined in:
app/controllers/admin/base_controller.rb

Instance Attribute Summary collapse

Method Summary

Methods included from ResourceHelper

#current_controller_namespace, #links_to_actions, #normalize_resource_link_options, #normalize_resource_link_text, #normalize_resource_type, #resource_delete_options, #resource_link, #resource_link_id, #resource_owners, #resource_url, #resource_url_method, #resource_url_namespace

Methods included from ContentHelper

#content_category_checkbox, #content_path, #content_status, #link_to_category, #link_to_content, #link_to_preview, #link_to_tag, #links_to_content_categories, #links_to_content_tags, #page_link_path, #published_at_formatted

Methods included from CacheableFlash

included, #write_flash_to_cookie

Instance Attribute Details

#siteObject

Returns the value of attribute site.



19
20
21
# File 'app/controllers/admin/base_controller.rb', line 19

def site
  @site
end