Use ruby 2.x hash syntax
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
= form_for(@user, :url => users_path) do |f|
|
||||
= form_for(@user, url: users_path) do |f|
|
||||
- if @user.errors.any?
|
||||
%ul
|
||||
- @user.errors.full_messages.each do |m|
|
||||
|
Reference in New Issue
Block a user