Preventing URLs

Another newbie question:
I have a browser based app in RoR where I don’t want to allow any
actions via
URL - meaning regardless what URL is typed in (after the server URL part
of
course), the same page is shown.

Can I do that with the RoR router? If so, how?

Horst

On 10/25/06, Horst H. [email protected] wrote:

Horst,

Off the top of my head this should work:

routes.rb

ActionController::Routing::Routes.draw do |map|
map.connect ‘*’, :controller => ‘my_catch_all_controller’, :action
=> ‘handle_it’
end

Zack