Fix JSON problem

This commit is contained in:
Filipa Lacerda 2016-11-15 10:12:59 +00:00
parent dd80e09a7b
commit bebbf12a08

View file

@ -1,7 +1,7 @@
module EnvironmentsHelper
def environments_list_data()
def environments_list_data
{
endpoint: namespace_project_environments_path(@project.namespace, @project)
endpoint: namespace_project_environments_path(@project.namespace, @project, format: :json)
}
end
end