]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth/authorize_failure.html.erb
Use rails 5 version of redirect_back.
[rails.git] / app / views / oauth / authorize_failure.html.erb
index d8110c94f0bacbf7b42b622ae0c8a1d55809151c..4afba70e306c685a268286e4823f7fdd80243422 100644 (file)
@@ -1 +1,5 @@
-<h1>You have disallowed this request</h1>
+<% content_for :heading do %>
+  <h1><%= t "oauth.oauthorize_failure.title" %></h1>
+<% end %>
+
+<p><%= @message %></p>