Ticket #4918: url_helper_patch.diff
| File url_helper_patch.diff, 0.6 kB (added by ssinghi@kreeti.com, 2 years ago) |
|---|
-
actionpack/lib/action_view/helpers/url_helper.rb
old new 244 244 245 245 # Returns true if the current page uri is generated by the options passed (in url_for format). 246 246 def current_page?(options) 247 CGI.escapeHTML(url_for(options)) == @controller.request.request_uri247 url_for(options) == CGI.escapeHTML(@controller.request.request_uri) 248 248 end 249 249 250 250 private