Skip to content

Commit

Permalink
[DEMAD] Corrección ruta
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmorenoh committed Dec 11, 2020
1 parent 93d8308 commit 2f5d5b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@
post :request_post_access_key, on: :collection
end

get "*missing" => redirect { |p, req| req.flash[:alert] = "No existe la ruta"; '/' }
get "*missing" => redirect('/')
end

0 comments on commit 2f5d5b1

Please sign in to comment.