Commit 3a76cc5c authored by Phil Hughes's avatar Phil Hughes

Fixed Ruby issues

parent 832d7fa3
...@@ -279,7 +279,7 @@ module ApplicationHelper ...@@ -279,7 +279,7 @@ module ApplicationHelper
path = request.path path = request.path
if params != nil if params != nil
path << "?#{options.to_param}" path << "?#{params}"
if add_label if add_label
if params[:label_name].present? and params[:label_name].respond_to?('any?') if params[:label_name].present? and params[:label_name].respond_to?('any?')
params[:label_name].each do |label| params[:label_name].each do |label|
...@@ -288,7 +288,6 @@ module ApplicationHelper ...@@ -288,7 +288,6 @@ module ApplicationHelper
end end
end end
end end
path path
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment