Revision 375303e4
Added by Paul Kelly over 13 years ago
- ID 375303e49d1a42edc05ad2f7a166a86be3ee153d
app/controllers/hosts_controller.rb | ||
---|---|---|
|
||
def create
|
||
@host = Host.new(params[:host])
|
||
@host.managed = true
|
||
respond_to do |format|
|
||
if @host.save
|
||
format.html do
|
Also available in: Unified diff
refs #168 - optional fields were wrong
When creating a new host and the host was empty then the optional
fields were not shown in the following edit page