Method: Admin::GroupsController#create
- Defined in:
- app/controllers/amalgam/admin/groups_controller.rb
#create ⇒ Object
33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'app/controllers/amalgam/admin/groups_controller.rb', line 33 def create @group = Amalgam::Models::Group.new(params[:group]) respond_to do |format| format.html do if @group.save redirect_to admin_groups_path else render 'new' end end end end |