Dryml <a> tag does not honor default_url_options
Reported by averell23 | April 27th, 2010 @ 09:20 AM | in Hobo 1.1
When using the tag inside dryml, like
<a action="new" with="&something" />
it will not honor the default_url_options, e.g. when you overwrite
# Add some default parameter to all links
def default_url_options(options={})
logger.debug "COMING THROUGH #{options.inspect}"
options[:some_param] = @some_value
options
end
it will not add the "some_param" to all the links it creates. (This is an "official" use case from the Rails I18n tutorial).
As far as I can see, the problem is that Hobo doesn't use the internal url helpers from Rails.
Comments and changes to this ticket
-
Bryan Larsen May 19th, 2010 @ 06:11 PM
- Tag changed from dryml url link default_url_options to defect, hobo-helper
- Milestone set to Hobo 1.1
- State changed from new to open
We do use the url_helper from Rails, but only for the base path.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป