Skip to content

Commit

Permalink
Add Phlex::Rails::Helpers::URLFor
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoroth committed Mar 1, 2023
1 parent 3afd706 commit 57853ba
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_output_helper :url_for
end

module URLOptions
extend Phlex::Rails::HelperMacros

Expand Down

0 comments on commit 57853ba

Please sign in to comment.