• P
    New way of generating urls for Application from Engine. · eedbf87d
    Piotr Sarnacki 提交于
    It's based specifying application's script_name with:
    Rails.application.default_url_options = {:script_name => "/foo"}
    
    default_url_options method is delegated to routes. If router
    used to generate url differs from the router passed via env
    it always overwrites :script_name with this value.
    eedbf87d
url_for.rb 1.0 KB