Method: ApplicationController#create

Defined in:
app/controllers/application_controller.rb

#createObject

> Create



45
46
47
48
# File 'app/controllers/application_controller.rb', line 45

def create
  @content = Node.new node_params
  respond_with @content, location: -> { application_path(@content) }
end