foreman_packages 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/controllers/foreman_packages/hosts_controller.rb +3 -3
- data/app/controllers/foreman_packages/packages_controller.rb +0 -1
- data/db/migrate/20150921011936_create_foreman_packages_packages.rb +1 -1
- data/lib/foreman_packages/engine.rb +0 -5
- data/lib/foreman_packages/version.rb +1 -1
- metadata +1 -1
|
@@ -4,8 +4,8 @@ module ForemanPackages
|
|
|
4
4
|
# change layout if needed
|
|
5
5
|
# layout 'foreman_packages/layouts/new_layout'
|
|
6
6
|
|
|
7
|
-
def new_action
|
|
8
|
-
|
|
9
|
-
end
|
|
7
|
+
# def new_action
|
|
8
|
+
# # automatically renders view/foreman_packages/hosts/new_action
|
|
9
|
+
# end
|
|
10
10
|
end
|
|
11
11
|
end
|
|
@@ -33,11 +33,6 @@ module ForemanPackages
|
|
|
33
33
|
role 'ForemanPackages', [:view_foreman_packages]
|
|
34
34
|
|
|
35
35
|
# add menu entry
|
|
36
|
-
menu :top_menu, :template,
|
|
37
|
-
url_hash: { controller: :'foreman_packages/hosts', action: :new_action },
|
|
38
|
-
caption: 'ForemanPackages',
|
|
39
|
-
parent: :hosts_menu,
|
|
40
|
-
after: :hosts
|
|
41
36
|
sub_menu :top_menu, :forema_package_menu, :caption=> N_('PackageManage'), :after=> :forema_user_menu do
|
|
42
37
|
menu :top_menu, :level1, :caption=>N_('Package List'), :url_hash => { :controller => 'foreman_packages/packages', :action => :index }
|
|
43
38
|
menu :top_menu, :level1, :caption=>N_('New Package'), :url_hash => { :controller => 'foreman_packages/packages', :action => :new }
|