Sha256: 029da5438e15cf2cc913615e5a844aaff461578b605db47cf8718eb4a00b4cc8

Contents?: true

Size: 419 Bytes

Versions: 2

Compression:

Stored size: 419 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 Rails.application.routes.mounted_helpers

		include URLOptions
		include DefaultURLOptions
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phlex-rails-2.0.0.beta2 lib/phlex/rails/helpers/routes.rb
phlex-rails-2.0.0.beta1 lib/phlex/rails/helpers/routes.rb