Class: BaseController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- BaseController
- Includes:
- Adva::AuthenticateUser, CacheableFlash, ContentHelper, ResourceHelper
- Defined in:
- app/controllers/base_controller.rb
Direct Known Subclasses
Defined Under Namespace
Classes: SectionRoutingError
Instance Attribute Summary collapse
-
#section ⇒ Object
(also: #set_section)
Returns the value of attribute section.
-
#site ⇒ Object
(also: #set_site)
Returns the value of attribute site.
Method Summary
Methods included from Adva::AuthenticateUser
#authenticate_user, #authenticated?, #current_user, included
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
Instance Attribute Details
#section ⇒ Object Also known as: set_section
Returns the value of attribute section.
15 16 17 |
# File 'app/controllers/base_controller.rb', line 15 def section @section end |
#site ⇒ Object Also known as: set_site
Returns the value of attribute site.
15 16 17 |
# File 'app/controllers/base_controller.rb', line 15 def site @site end |