Sha256: d019f93ce76cfde2e379cfbca5e1d11bef6bbc932b9354332de8fc59660733e7

Contents?: true

Size: 368 Bytes

Versions: 12

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true

# 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 URLOptions
		include DefaultURLOptions
	end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
phlex-rails-1.2.2 lib/phlex/rails/helpers/routes.rb
phlex-rails-1.2.1 lib/phlex/rails/helpers/routes.rb
phlex-rails-1.2.0 lib/phlex/rails/helpers/routes.rb
phlex-rails-1.1.2 lib/phlex/rails/helpers/routes.rb
phlex-rails-1.1.1 lib/phlex/rails/helpers/routes.rb
phlex-rails-1.1.0 lib/phlex/rails/helpers/routes.rb
phlex-rails-1.0.0 lib/phlex/rails/helpers/routes.rb
phlex-rails-0.10.0 lib/phlex/rails/helpers/routes.rb
phlex-rails-0.8.1 lib/phlex/rails/helpers/routes.rb
phlex-rails-0.9.0 lib/phlex/rails/helpers/routes.rb
phlex-rails-0.8.0 lib/phlex/rails/helpers/routes.rb
phlex-rails-0.7.1 lib/phlex/rails/helpers/routes.rb