Revision f17e3f6c
Added by Amos Benari over 11 years ago
- ID f17e3f6c15862fe47f56cb17f181666fcf63c317
app/helpers/application_helper.rb | ||
---|---|---|
end
|
||
|
||
def help_path
|
||
link_to "Help", :action => "welcome" if File.exists?("#{RAILS_ROOT}/app/views/#{controller_name}/welcome.html.erb")
|
||
link_to "Help", :action => "welcome" if File.exists?("#{Rails.root}/app/views/#{controller_name}/welcome.html.erb")
|
||
end
|
||
|
||
def method_path method
|
Also available in: Unified diff
fixed deprecation warning.