Commit 45b238af by Đường Sỹ Hoàng

Fixed identation

parent e4cbd8cd
......@@ -8,7 +8,7 @@ class UsersController < ApplicationController
def show
@user = User.find(params[:id])
end
end
def new
@user = User.new
......
User.create!(name: "Example User",email: "example@railstutorial.org",password:"foobar",password_confirmation: "foobar",admin: true)
User.create!(name: "Example User", email: "example@railstutorial.org", password:"foobar", password_confirmation: "foobar")
99.times do |n|
name = Faker::Name.name
email = "example-#{n+1}@railstutorial.org"
password = "password"
User.create!(name: name,email: email,password:password,password_confirmation: password)
User.create!(name: name, email: email, password:password, password_confirmation: password)
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment