diff --git a/app/views/miq_policy/_action_list.html.haml b/app/views/miq_policy/_action_list.html.haml index 1fd9387909c..942ffc45911 100644 --- a/app/views/miq_policy/_action_list.html.haml +++ b/app/views/miq_policy/_action_list.html.haml @@ -1,2 +1,2 @@ #action_list_div - = render :partial => 'layouts/gtl', :locals => {:action_url => "action_get_all", :button_div => 'policy_bar'} + = render :partial => 'layouts/gtl', :locals => {:button_div => 'policy_bar'} diff --git a/app/views/miq_policy/_alert_list.html.haml b/app/views/miq_policy/_alert_list.html.haml index ac994919090..d4f3511d0fc 100644 --- a/app/views/miq_policy/_alert_list.html.haml +++ b/app/views/miq_policy/_alert_list.html.haml @@ -1,2 +1,2 @@ #alert_list_div - = render :partial => 'layouts/gtl', :locals => {:action_url => "alert_get_all", :button_div => 'policy_bar'} + = render :partial => 'layouts/gtl', :locals => {:button_div => 'policy_bar'} diff --git a/app/views/miq_policy/_policy_list.html.haml b/app/views/miq_policy/_policy_list.html.haml index 4d09810e45d..7573347f145 100644 --- a/app/views/miq_policy/_policy_list.html.haml +++ b/app/views/miq_policy/_policy_list.html.haml @@ -1,2 +1,2 @@ #policy_list_div - = render :partial => 'layouts/gtl', :locals => {:action_url => "policy_get_all", :button_div => 'policy_bar'} + = render :partial => 'layouts/gtl', :locals => {:button_div => 'policy_bar'} diff --git a/config/routes.rb b/config/routes.rb index 1ecb3e37f11..35b386fe4fe 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -2257,12 +2257,9 @@ accordion_select action_edit action_field_changed - action_get_all - action_tag_pressed alert_delete alert_edit alert_field_changed - alert_get_all alert_profile_assign alert_profile_assign_changed alert_profile_delete @@ -2276,7 +2273,6 @@ export_field_changed import policy_edit - policy_get_all policy_field_changed profile_edit profile_field_changed diff --git a/spec/routing/miq_policy_routing_spec.rb b/spec/routing/miq_policy_routing_spec.rb index d82e0565d7e..36c61603b8c 100644 --- a/spec/routing/miq_policy_routing_spec.rb +++ b/spec/routing/miq_policy_routing_spec.rb @@ -18,18 +18,6 @@ end end - describe '#action_get_all' do - it 'routes with POST' do - expect(post("/#{controller_name}/action_get_all")).to route_to("#{controller_name}#action_get_all") - end - end - - describe '#action_tag_pressed' do - it 'routes with POST' do - expect(post("/#{controller_name}/action_tag_pressed")).to route_to("#{controller_name}#action_tag_pressed") - end - end - describe '#alert_edit' do it 'routes with POST' do expect(post("/#{controller_name}/alert_edit")).to route_to("#{controller_name}#alert_edit") @@ -42,12 +30,6 @@ end end - describe '#alert_get_all' do - it 'routes with POST' do - expect(post("/#{controller_name}/alert_get_all")).to route_to("#{controller_name}#alert_get_all") - end - end - describe '#alert_profile_assign' do it 'routes with POST' do expect(post("/#{controller_name}/alert_profile_assign")).to route_to("#{controller_name}#alert_profile_assign") @@ -172,12 +154,6 @@ end end - describe '#policy_get_all' do - it 'routes with POST' do - expect(post("/#{controller_name}/policy_get_all")).to route_to("#{controller_name}#policy_get_all") - end - end - describe '#profile_edit' do it 'routes with POST' do expect(post("/#{controller_name}/profile_edit")).to route_to("#{controller_name}#profile_edit")