I'm not sure but it seems possible to have a route at the end of your routes
file (with the lowest priority) that would handle any un-handled requests.
You could then dispatch it to wherever you want.  Maybe there is a better
way to do it though.  Could you give some example URL's?

On Wed, Jul 8, 2009 at 4:07 AM, Gavin Morrice <
rails-mailing-l...@andreas-s.net> wrote:

>
> Janna Brossard wrote:
> > Is there a way to programmartically add a route? I have an outside
> > process creating pages that I need to access, but I dont know their
> > names or locations until runtime. -Janna B
>
> Janna,
>
> Sounds messy! Are you sure this is the best option?
>
> What is it you're trying to achieve?
>
> Gavin
>
> http://handyrailstips.com
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to