Browse Source

remove redundant return

pull/1637/head
Kat 3 years ago
parent
commit
04753006de
  1. 2
      app/controllers/locations_controller.rb

2
app/controllers/locations_controller.rb

@ -227,7 +227,7 @@ private
def authenticate_action!
unless user_allowed_action?
render_not_found and return
render_not_found
end
end

Loading…
Cancel
Save