Fix JSON problem

This commit is contained in:
Filipa Lacerda 2016-11-15 10:12:59 +00:00
parent dd80e09a7b
commit bebbf12a08
1 changed files with 2 additions and 2 deletions

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