Class: AlphaPluginController

Inherits:
ApplicationController show all
Defined in:
vendor/plugins/engines/test/plugins/alpha_plugin/app/controllers/alpha_plugin_controller.rb

Instance Method Summary

Methods inherited from ApplicationController

accept_key_auth, #accept_key_auth_actions, #api_request?, #authorize, #authorize_global, #check_if_login_required, #check_project_privacy, #delete_broken_cookies, #deny_access, #filename_for_content_disposition, #find_current_user, #find_model_object, #find_project, #find_project_from_association, #invalid_authenticity_token, #logged_user=, model_object, #parse_qvalues, #per_page_option, #redirect_back_or_default, #render_403, #render_404, #render_attachment_warning_if_needed, #render_error, #render_feed, #require_admin, #require_login, #set_localization, #user_setup

Methods included from Redmine::I18n

#current_language, #day_name, #find_language, #format_date, #format_time, included, #l, #l_hours, #l_or_humanize, #ll, #month_name, #set_language_if_valid, #valid_languages

Methods included from Redmine::Search::Controller

#default_search_scope, #default_search_scopes, included

Methods included from Redmine::MenuManager::MenuController

#current_menu_item, included, #menu_items, #redirect_to_project_menu_item

Instance Method Details

- (Object) action_with_layout



5
6
7
# File 'vendor/plugins/engines/test/plugins/alpha_plugin/app/controllers/alpha_plugin_controller.rb', line 5

def action_with_layout
  render_class_and_action(nil, :layout => "plugin_layout")
end

- (Object) an_action



2
3
4
# File 'vendor/plugins/engines/test/plugins/alpha_plugin/app/controllers/alpha_plugin_controller.rb', line 2

def an_action
  render_class_and_action
end