Generator
module ActionDispatch
module Routing
class RouteSet
def generate(route_key, options, recall = {})
Generator.new(route_key, options, recall, self).generate
end
end
end
endgenerate
# 以下几个方法 initialize 时被调用
normalize_recall!
normalize_options!
normalize_controller_action_id!
use_relative_controller!
normalize_controller!
normalize_action!最后更新于