debian-mirror-gitlab/app/helpers/environments_helper.rb

8 lines
174 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
module EnvironmentsHelper
def environments_list_data
{
endpoint: namespace_project_environments_path(@project.namespace, @project, format: :json)
}
end
end