Project

General

Profile

Revision 04b6e05e

Added by Daniel Lobato Garcia over 4 years ago

Refs #21893 - rubocop trailing whitespace

View differences:

app/controllers/containers_controller.rb
100 100

  
101 101
  def container_deletion
102 102
    # TODO: Refactor to recognize params[:compute_resource_id] as well.
103
    compute_resource_id = params[:compute_resource_id].present? ? params[:compute_resource_id] : nil 
103
    compute_resource_id = params[:compute_resource_id].present? ? params[:compute_resource_id] : nil
104 104
    if compute_resource_id
105 105
      container_uuid = params[:id]
106 106
      @container ||= Container.authorized("#{action_permission}_#{controller_name}".to_sym).find_by_uuid(container_uuid)

Also available in: Unified diff