Changeset [387c68606ee528c628e820f5be2adf6b36828c28] by Bryan Larsen

September 6th, 2012 @ 07:51 PM

change the hobo_routes generator to use "resources" rather than writing the individual routes. This let's us fix up object_url to use polymorphic_url rather than doing everything ourselves, get rid of Hobo::Routes and let <a> and friends use all the standard url_for options. This may break your named_routes, although we provide config.hobo.dont_emit_deprecated_routes to minimize breakage for the time being. See CHANGES-1.4.txt for more details.
https://github.com/tablatom/hobo/commit/387c68606ee528c628e820f5be2...

Committed by Bryan Larsen

  • M dryml/lib/dryml/dryml_generator.rb
  • M hobo/CHANGES-1.4.txt
  • M hobo/app/helpers/hobo_route_helper.rb
  • M hobo/lib/generators/hobo/routes/router.rb
  • M hobo/lib/generators/hobo/routes/templates/hobo_routes.rb.erb
  • M hobo/lib/generators/hobo/user_mailer/templates/activation.erb
  • M hobo/lib/generators/hobo/user_mailer/templates/forgot_password.erb
  • M hobo/lib/generators/hobo/user_mailer/templates/invite.erb
  • M hobo/lib/hobo.rb
  • M hobo/lib/hobo/controller/model.rb
  • M hobo/lib/hobo/model.rb
  • M hobo/lib/hobo/rapid/generators/rapid/cards.dryml.erb
  • M hobo/lib/hobo/rapid/generators/rapid/forms.dryml.erb
  • M hobo/lib/hobo/rapid/generators/rapid/pages.dryml.erb
  • M hobo/lib/hobo/routes.rb
  • M hobo/test/doctest/hobo/hobo_helper.rdoctest
  • M hobo_clean/taglibs/nav.dryml
  • M hobo_rapid/taglibs/html/a.dryml
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป