@@ -45,6 +45,7 module ApplicationHelper | |||
|
45 | 45 | |
|
46 | 46 | # Display a link to remote if user is authorized |
|
47 | 47 | def link_to_remote_if_authorized(name, options = {}, html_options = nil) |
|
48 | ActiveSupport::Deprecation.warn "ApplicationHelper#link_to_remote_if_authorized is deprecated and will be removed in Redmine 2.2." | |
|
48 | 49 | url = options[:url] || {} |
|
49 | 50 | link_to_remote(name, options, html_options) if authorize_for(url[:controller] || params[:controller], url[:action]) |
|
50 | 51 | end |
General Comments 0
You need to be logged in to leave comments.
Login now