lib/merb-routing/routing_wrapper.rb
# this setter is used by rails dispatcher but isn't actually used by us
this setter is used by rails dispatcher but isn't actually used by us
this setter is used by rails dispatcher but isn ' t actually used by us
def routes_for_controller_and_action(controller, action)
    @routes_by_controller ||= {}
    @routes_by_controller[controller] ||= {}
    @routes_by_controller[controller][action] ||= Merb::Router.routes.reject { |route| (route.params[:controller] =~ /^"(.*)"$/ && $1 != controller) || (route.params[:action] =~ /^"(.*)"$/ && $1 != action) }
  end
def routes_for_controller_and_action ( controller , action ) @routes_by_controller ||= { } @routes_by_controller [ controller ] ||= { } @routes_by_controller [ controller ] [ action ] ||= Merb :: Router . routes . reject { | route | ( route . params [ :controller ] =~ / ^"(.*)"$ / && $1 != controller ) || ( route . params [ :action ] =~ / ^"(.*)"$ / && $1 != action ) } end
this setter is used by rails dispatcher but isn't actually used by us
this setter is used by rails dispatcher but isn ' t actually used by us
controller
<not_specific>
action
<not_specific>