Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Add new dynamic routes.

#6319

Hello,

I'm on Rails 3 and I'want to add dynamic routes in my Application.

I am succesuful with : File.open on a file : config/routes.rb but i'am not satisfied by way.

Can not you do anything else to add a new dynamic route?

Thanks

Reported by Luya · January 20th, 2011 @ 09:36 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Andrew White
    Andrew White
    • State changed from new to invalid
    • Importance changed from to Low

    In Rails 3.0 you can draw the route set again by using Rails.application.routes.draw, but it will reset the routes. In Rails 3.1 there will be an append method you can use.

    In future can you please one of the support options listed on http://rubyonrails.org/community as this website is for the tracking of bugs in Rails and not general support.

    February 14th, 2011 @ 11:43 AM