Class: Kryptonite::KryptoniteController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Kryptonite::KryptoniteController
- Includes:
- ConfigHelper, KryptoniteHelper
- Defined in:
- app/controllers/kryptonite/kryptonite_controller.rb
Direct Known Subclasses
ContentsController, PasswordResetsController, UserSessionsController, UsersController
Instance Method Summary collapse
Methods included from ConfigHelper
#kryptonite_config_dashboard_url, #kryptonite_config_email_from_address, #kryptonite_config_hostname, #kryptonite_config_javascript_includes, #kryptonite_config_logo, #kryptonite_config_stylesheet_includes, #kryptonite_config_website_name
Methods included from KryptoniteHelper
#kryptonite_assets_field, #kryptonite_check_box, #kryptonite_check_box_group, #kryptonite_collection_select, #kryptonite_date_select, #kryptonite_datetime_select, #kryptonite_file_field, #kryptonite_generate_page_title, #kryptonite_get_access_level_array, #kryptonite_get_access_level_text, #kryptonite_get_full_version_string, #kryptonite_get_language_array, #kryptonite_get_short_version_string, #kryptonite_get_version_info, #kryptonite_hidden_field, #kryptonite_password_field, #kryptonite_radio_button, #kryptonite_radio_button_group, #kryptonite_select, #kryptonite_show_icon, #kryptonite_show_row_icon, #kryptonite_table_cell_link, #kryptonite_table_cell_no_link, #kryptonite_text_area, #kryptonite_text_area_big, #kryptonite_text_field, #kryptonite_time_select, #kryptonite_time_zone_select
Instance Method Details
#blank ⇒ Object
29 30 31 |
# File 'app/controllers/kryptonite/kryptonite_controller.rb', line 29 def blank @kryptonite_page_title = t(:home_page_title) end |
#index ⇒ Object
25 26 27 |
# File 'app/controllers/kryptonite/kryptonite_controller.rb', line 25 def index redirect_to kryptonite_config_dashboard_url end |