Apply Style/RedundantReturn rubocop rule
We were already following this pattern most of the time.
This commit is contained in:
@@ -308,7 +308,7 @@ def documentable_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 documentable_attach_new_file(path, success = true)
|
||||
|
||||
Reference in New Issue
Block a user