summaryrefslogtreecommitdiffstats
path: root/app/views/layouts
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2006-12-26 21:33:44 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2006-12-26 21:33:44 +0000
commit95cc65f14e02efd18cbb6716a0e0fdf329dae144 (patch)
tree6e40d3e7cc84052a0dff14c7ebd8b1b5f78e53c2 /app/views/layouts
parentb3a3d3e2fab59c542c40135b242364780e9a9768 (diff)
downloadredmine-95cc65f14e02efd18cbb6716a0e0fdf329dae144.tar.gz
redmine-95cc65f14e02efd18cbb6716a0e0fdf329dae144.zip
replaced deprecated controller instance variables: @params, @session, @request
git-svn-id: http://redmine.rubyforge.org/svn/trunk@127 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/base.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml
index eeea3ef26..0f7be43a3 100644
--- a/app/views/layouts/base.rhtml
+++ b/app/views/layouts/base.rhtml
@@ -49,7 +49,7 @@
<li class="submenu"><%= link_to l(:label_administration), { :controller => 'admin' }, :class => "picAdmin", :onmouseover => "buttonMouseover(event, 'menuAdmin');" %></li>
<% end %>
- <li class="right"><%= link_to l(:label_help), { :controller => 'help', :ctrl => @params[:controller], :page => @params[:action] }, :target => "new", :class => "picHelp" %></li>
+ <li class="right"><%= link_to l(:label_help), { :controller => 'help', :ctrl => params[:controller], :page => params[:action] }, :target => "new", :class => "picHelp" %></li>
<% if loggedin? %>
<li class="right"><%= link_to l(:label_logout), { :controller => 'account', :action => 'logout' }, :class => "picUser" %></li>