Class: Alchemy::Admin::IngredientsController

Inherits:
BaseController show all
Includes:
CropAction
Defined in:
app/controllers/alchemy/admin/ingredients_controller.rb

Instance Method Summary collapse

Methods included from CropAction

#crop

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
# File 'app/controllers/alchemy/admin/ingredients_controller.rb', line 12

def edit
end

#updateObject


15
16
17
# File 'app/controllers/alchemy/admin/ingredients_controller.rb', line 15

def update
  @ingredient.update(ingredient_params)
end