Module: Katello::Concerns::SmartProxiesControllerExtensions::Overrides
- Defined in:
- app/controllers/katello/concerns/smart_proxies_controller_extensions.rb
Instance Method Summary collapse
Instance Method Details
#action_permission ⇒ Object
12 13 14 15 16 17 18 |
# File 'app/controllers/katello/concerns/smart_proxies_controller_extensions.rb', line 12 def if params[:action] == 'pulp_status' || params[:action] == 'pulp_storage' :view else super end end |
#show ⇒ Object
7 8 9 10 |
# File 'app/controllers/katello/concerns/smart_proxies_controller_extensions.rb', line 7 def show @task_search_url = main_app.foreman_tasks_tasks_path(:search => "resource_id = #{@smart_proxy.id} AND resource_type = #{@smart_proxy.class}") render 'foreman/smart_proxies/show', :layout => 'katello/layouts/foreman_with_bastion' end |