Class: ForemanUsers::HostsController

Inherits:
HostsController
  • Object
show all
Defined in:
app/controllers/foreman_users/hosts_controller.rb

Overview

Example: Plugin’s HostsController inherits from Foreman’s HostsController

Instance Method Summary collapse

Instance Method Details

#new_actionObject

change layout if needed layout ‘foreman_users/layouts/new_layout’



7
8
9
# File 'app/controllers/foreman_users/hosts_controller.rb', line 7

def new_action
  # automatically renders view/foreman_users/hosts/new_action
end