lib/phlex/rails/helpers/routes.rb in phlex-rails-1.2.2 vs lib/phlex/rails/helpers/routes.rb in phlex-rails-2.0.0.beta1
- old
+ new
@@ -3,9 +3,10 @@
# An adapter for Rails routing helpers, such as <code>article_path</code>.
module Phlex::Rails::Helpers
module Routes
# This must be included first because it defines `url_options` rather than delegating it to the view context.
include Rails.application.routes.url_helpers
+ include Rails.application.routes.mounted_helpers
include URLOptions
include DefaultURLOptions
end
end