grimen / dry_scaffold

Rails: A Rails scaffold generator that generates DRYer, cleaner, and more useful code. IMPORTANT: Not maintained anymore.
MIT License
124 stars 14 forks source link

Use inherited_resources paths #12

Closed baldwindavid closed 14 years ago

baldwindavid commented 15 years ago

Use collection_path, resource_path, etc. unless skipping inherited_resources.
Also, perhaps use the longer method for creating the form tag...

- semantic_form_for resource, :url => edit_resource_path(resource) do |form|

This will allow belongs_to/polymorphic controllers without any updates to the views.

grimen commented 14 years ago

bugfix: Use inherited_resources paths (again). Closed by 12a6e102b00abae5a11560aa53b1922291b21d0a