Commit 297b4b7d authored by Jacob Schatz's avatar Jacob Schatz
Browse files

Add json extension to URL.

parent a511a122
......@@ -273,7 +273,7 @@ module ApplicationHelper
end
end
path = request.path
path = request.path << ".json"
path << "?#{options.to_param}"
if add_label
if params[:label_name].present? and params[:label_name].respond_to?('any?')
......
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