Class: Alchemy::Admin::EssenceFilesController

Inherits:
BaseController show all
Defined in:
app/controllers/alchemy/admin/essence_files_controller.rb

Instance Method Summary collapse

Methods inherited from BaseController

#leave

Methods included from Modules

included, #module_definition_for, register_module

Methods included from Alchemy::AbilityHelper

#current_ability

Methods included from ConfigurationMethods

#configuration, #multi_language?, #multi_site?, #prefix_locale?

Instance Method Details

#editObject



12
13
14
# File 'app/controllers/alchemy/admin/essence_files_controller.rb', line 12

def edit
  @content = @essence_file.content
end

#updateObject



16
17
18
# File 'app/controllers/alchemy/admin/essence_files_controller.rb', line 16

def update
  @essence_file.update(essence_file_params)
end