Skip to content

Commit

Permalink
Merge pull request ManageIQ#4808 from mzazrivec/fix_rubocop_warnings_…
Browse files Browse the repository at this point in the history
…in_generic_object_definition_controller

Fix rubocop warnings in GenericObjectDefinitionController
  • Loading branch information
himdel authored Oct 22, 2018
2 parents 564a954 + 22c5690 commit 6f1bdbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/generic_object_definition_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def self.model

def index
self.x_node = 'root'
redirect_to :action => "show_list"
redirect_to(:action => "show_list")
end

def show_list
Expand All @@ -33,7 +33,7 @@ def show
super
else
@breadcrumbs = []
redirect_to :action => "show_list"
redirect_to(:action => "show_list")
end
end

Expand Down

0 comments on commit 6f1bdbc

Please sign in to comment.