Skip to content

Commit

Permalink
Merge pull request #75 from marcoroth/add-url-for-helper
Browse files Browse the repository at this point in the history
Add `Phlex::Rails::Helpers::URLFor`
  • Loading branch information
joeldrapper authored Mar 1, 2023
2 parents 3afd706 + 8e97d4a commit 43a0f2b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/phlex/rails/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1306,6 +1306,13 @@ module URLFieldTag
define_output_helper :url_field_tag
end

module URLFor
extend Phlex::Rails::HelperMacros

# @!method url_for(...)
define_value_helper :url_for
end

module URLOptions
extend Phlex::Rails::HelperMacros

Expand Down

0 comments on commit 43a0f2b

Please sign in to comment.