menu_manager_r3625.patch

Tide _, 2010-04-05 17:13

Download (554 Bytes)

View differences:

lib/redmine/menu_manager.rb (working copy)
267 267
          project.nil? ? item.url : {item.param => project}.merge(item.url)
268 268
        when Symbol
269 269
          send(item.url)
270
        when Proc # added by Tide to allow passing a proc as the url
271
          item.url.call(project).to_s # added by Tide to allow passing a proc as the url
270 272
        else
271 273
          item.url
272 274
        end