summaryrefslogtreecommitdiff
path: root/app/views/devise/unlocks
diff options
context:
space:
mode:
authorAndrey Kumanyaev <me@zzet.org>2013-05-05 18:01:10 +0400
committerAndrey Kumanyaev <me@zzet.org>2013-05-05 18:01:10 +0400
commit67ccc8b52aceebea9c0cb22b3277daf0b467c78e (patch)
tree6139a7674fe0f9d70a0af51c383fd72aa91cc54c /app/views/devise/unlocks
parent493b5ff011d5788f669adabf978a40b49b8cf6a3 (diff)
downloadgitlab-ce-67ccc8b52aceebea9c0cb22b3277daf0b467c78e.tar.gz
Replace old hashes with new 1.9 ruby hashes (rebase)
Diffstat (limited to 'app/views/devise/unlocks')
-rw-r--r--app/views/devise/unlocks/new.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/devise/unlocks/new.html.erb b/app/views/devise/unlocks/new.html.erb
index b787e648ca2..f9277d1673f 100644
--- a/app/views/devise/unlocks/new.html.erb
+++ b/app/views/devise/unlocks/new.html.erb
@@ -1,6 +1,6 @@
<h2>Resend unlock instructions</h2>
-<%= form_for(resource, :as => resource_name, :url => unlock_path(resource_name), :html => { :method => :post }) do |f| %>
+<%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
<%= devise_error_messages! %>
<div><%= f.label :email %><br />
@@ -9,4 +9,4 @@
<div><%= f.submit "Resend unlock instructions" %></div>
<% end %>
-<%= render :partial => "devise/shared/links" %>
+<%= render partial: "devise/shared/links" %>