Skip to content
Snippets Groups Projects
Commit 297b4b7d authored by Jacob Schatz's avatar Jacob Schatz
Browse files

Add json extension to URL.

parent a511a122
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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?')
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment