Project

General

Profile

Download (648 Bytes) Statistics
| Branch: | Tag: | Revision:

foreman_pipeline / lib / foreman_pipeline / plugin.rb @ be52ca64

1
Foreman::Plugin.register :foreman_pipeline do
2
  
3
  sub_menu :top_menu, :foreman_pipeline_menu, :caption => N_('Pipeline') do
4
    menu :top_menu,
5
         :jobs,       
6
         :caption => N_("Jobs"),
7
         :url => '/jobs',
8
         :url_hash => {:controller => 'foreman_pipeline/api/jobs', :action => 'index'},
9
         :engine => ForemanPipeline::Engine
10
    menu :top_menu,
11
         :jenkins_instances,
12
         :caption => N_("Jenkins Instances"),
13
         :url => '/jenkins_instances',
14
         :url_hash => {:controller => 'foreman_pipeline/api/jenkins_instances', :action => 'index'},
15
         :engine => ForemanPipeline::Engine
16
  end
17
end