Commit bebbf12a authored by Filipa Lacerda's avatar Filipa Lacerda

Fix JSON problem

parent dd80e09a
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
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