Skip to content

Commit

Permalink
Added missing method service_retire_now which fixes flash msg
Browse files Browse the repository at this point in the history
  • Loading branch information
AparnaKarve committed Apr 20, 2017
1 parent 8c609eb commit fba25dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/controllers/service_controller.rb
Expand Up @@ -179,6 +179,12 @@ def service_retire
replace_right_cell(:action => 'retire')
end

def service_retire_now
@explorer = true
retirevms_now
replace_right_cell
end

def service_set_record_vars(svc)
svc.name = params[:name] if params[:name]
svc.description = params[:description] if params[:description]
Expand Down

0 comments on commit fba25dc

Please sign in to comment.