I'll use my recipe example again. It would be nice if I could have my routes (I think) set up so that if somebody enters a a controller that doesn't exist a database search runs and looks for the controller name as one of the categories (for example the user enters http://www.com/italian). This is an existing category in the database so it would likely then redirect to www.com/categories/italian (and from there the categories controller would handle things).
Is this possible without violating any "rules"? -- 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-t...@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.