Apply Style/RedundantReturn rubocop rule
We were already following this pattern most of the time.
This commit is contained in:
@@ -254,7 +254,7 @@ def imageable_redirected_to_resource_show_or_navigate_to
|
||||
find("a", text: "Not now, go to my proposal")
|
||||
click_on "Not now, go to my proposal"
|
||||
rescue
|
||||
return
|
||||
nil
|
||||
end
|
||||
|
||||
def imageable_attach_new_file(_imageable_factory_name, path, success = true)
|
||||
|
||||
Reference in New Issue
Block a user