##// END OF EJS Templates
Change link_to_if_authorized to allow url paths. (Fixes #6195)...
Change link_to_if_authorized to allow url paths. (Fixes #6195) Both url paths (/issues/1234) and params hashes (:controller => 'issues') are now supported by link_to_if_authorized. The authorize_for method requires a controller/action pair so urls need to be parsed against the routes to find their controller/action. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4064 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r773:514cdacc87e6
r3950:d771fa92892a
Show More
edit.rhtml
6 lines | 253 B | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
"queries" branch merged...
r92 <h2><%= l(:label_query) %></h2>
Jean-Philippe Lang
Custom query columns: checkboxes replaced by two selects that let the user specify columns order....
r773 <% form_tag({:action => 'edit', :id => @query}, :onsubmit => 'selectAllOptions("selected_columns");') do %>
Jean-Philippe Lang
"queries" branch merged...
r92 <%= render :partial => 'form', :locals => {:query => @query} %>
<%= submit_tag l(:button_save) %>
Jean-Philippe Lang
Added per user custom queries....
r563 <% end %>