Class: Alchemy::Admin::ContentsController

Inherits:
BaseController show all
Defined in:
app/controllers/alchemy/admin/contents_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

#createObject



10
11
12
# File 'app/controllers/alchemy/admin/contents_controller.rb', line 10

def create
  @content = Content.create(content_params)
end