search for: customcontroller

Displaying 1 result from an estimated 1 matches for "customcontroller".

Did you mean: customercontroller
2005 Dec 15
0
Creating and managing Rails routes on the fly
...ster routes using a rails application. So an interface would list routes and give users the ability to manage these on the fly: class RoutesController < ApplicationController # very simple example def add ... Routes.connect ''customurl'', :controller => "customcontroller", :controller => "customaction" Routes.save # save user created routes back to routes.rb file or some other storage mechanism ... end def list @allroutes = Routes.find(:all) end end Is this possible? Ideally what is required is direct access to Actio...