Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

load entry before rendering edit action

  • Loading branch information...
commit 8fc0049fd4b390577973a28539db902f9b0195a0 1 parent 09f04c0
Pascal Zumkehr authored
View
1  lib/generators/dry_crud/templates/app/controllers/crud_controller.rb
@@ -64,6 +64,7 @@ def create(&block)
# Display a form to edit an exisiting entry of this model.
# GET /entries/1/edit
def edit
+ entry
render_with_callback 'edit'
end
Please sign in to comment.
Something went wrong with that request. Please try again.