Method: Ucpengine::EntriesController#update

Defined in:
app/controllers/ucpengine/entries_controller.rb

#updateObject



36
37
38
39
40
41
42
# File 'app/controllers/ucpengine/entries_controller.rb', line 36

def update
  if @entry.update(entry_params)
    redirect_to content_entry_path(@entry), notice: 'Entry was successfully updated.'
  else
    render :edit
  end
end