Class: Alchemy::Admin::LanguagesController
- Inherits:
-
ResourcesController
- Object
- ApplicationController
- BaseController
- BaseController
- ResourcesController
- Alchemy::Admin::LanguagesController
- Defined in:
- app/controllers/alchemy/admin/languages_controller.rb
Instance Method Summary collapse
Methods inherited from ResourcesController
#create, #destroy, #edit, #index, #resource_handler, #show, #update
Methods included from ResourcesHelper
#contains_relations?, #edit_resource_path, #new_resource_path, #render_attribute, #resource_attribute_field_options, #resource_instance_variable, #resource_model, #resource_name, #resource_path, #resource_relations_names, #resource_scope, #resource_url_proxy, #resource_window_size, #resources_header, #resources_instance_variable, #resources_path, #sortable_resource_header_column
Methods inherited from BaseController
Methods included from Modules
included, #module_definition_for, register_module
Methods included from ConfigurationMethods
#configuration, #multi_language?, #multi_site?
Instance Method Details
#new ⇒ Object
5 6 7 8 |
# File 'app/controllers/alchemy/admin/languages_controller.rb', line 5 def new @language = Language.new @language.page_layout = configured_page_layout || @language.page_layout end |