Class: Virgo::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Virgo::ApplicationController
show all
- Includes:
- ActionView::Helpers::SanitizeHelper, ActionView::Helpers::TextHelper, ApplicationHelper, RenderHelper
- Defined in:
- app/controllers/virgo/application_controller.rb
Direct Known Subclasses
Virgo::Admin::BaseController, CategoriesController, ColumnsController, ImagesController, InstallController, PageModulesController, PagesController, PostsController, SearchController, SubscribersController, TagsController, UsersController
Class Method Summary
collapse
#render_content, #with_format
#action?, #admin?, #admin_access?, #admin_view?, #alerts, #base_errors, #category_timestamp, #column_timestamp, #compact_html, #controller?, #decode_html_entities, #expanded_post_url, #is_admin_view?, #page_url, #post_time_format, #post_timestamp, #production?, #redis_timestamp_key_for, #site, #site_key, #superuser?, #tabbed_param, #word_count
Class Method Details
.collection_actions(*extras) ⇒ Object
47
48
49
|
# File 'app/controllers/virgo/application_controller.rb', line 47
def self.collection_actions(*)
[:index, :new, :create] +
end
|
.default_sort_order(val) ⇒ Object
51
52
53
|
# File 'app/controllers/virgo/application_controller.rb', line 51
def self.default_sort_order(val)
@_default_sort_order = val
end
|
.deploy_key ⇒ Object
100
101
102
|
# File 'app/controllers/virgo/application_controller.rb', line 100
def self.deploy_key
Rails.application.config.deploy_key
end
|
.member_actions(*extras) ⇒ Object
43
44
45
|
# File 'app/controllers/virgo/application_controller.rb', line 43
def self.member_actions(*)
[:show, :edit, :update, :destroy] +
end
|