Class: NippoCore::GroupsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- NippoCore::GroupsController
- Defined in:
- app/controllers/nippo_core/groups_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
9 10 11 12 13 14 15 |
# File 'app/controllers/nippo_core/groups_controller.rb', line 9 def create if @group.save redirect_to root_path else render 'new', status: 400 end end |
#new ⇒ Object
6 7 |
# File 'app/controllers/nippo_core/groups_controller.rb', line 6 def new end |