Plugin

Hi,

I have this code in a plugin:

module ActionController
module Routing
def default_controller

ActionController::Routing::Routes.routes[0].requirements[:controller]
end
def default_action
ActionController::Routing::Routes.routes[0].requirements[:action]
end
end
end

And I expected that default_controller and default_action would be
available everywhere. But they aren’t!

How can I make them available elsewhere? Now I would like to use them
in another plugin.

Thanks!