-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#24 Clean up code and add login links to README.md
- Loading branch information
1 parent
c581aa2
commit 560fd1b
Showing
4 changed files
with
20 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,11 +17,15 @@ You must have | |
Admin: | ||
* Email: [email protected], Password: '12341234' | ||
|
||
Login on: "http://localhost:3000/hq/dashboard.html" | ||
|
||
Users: | ||
* Email: [email protected], Password: '12341234' | ||
* Email: [email protected], Password: '12341234' | ||
* Email: [email protected], Password: '12341234' | ||
|
||
Login on: "http://localhost:3000/users/sign_in" | ||
|
||
## CONTACT | ||
|
||
* [Twitter](https://twitter.com/yakutproject) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,24 +5,23 @@ | |
# | ||
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) | ||
# Mayor.create(name: 'Emanuel', city: cities.first) | ||
|
||
if Rails.env.development? | ||
admin = Admin.create(email: '[email protected]', | ||
password: '12341234', | ||
password_confirmation: '12341234') | ||
admin = Admin.create!(email: '[email protected]', | ||
password: '12341234', | ||
password_confirmation: '12341234') | ||
|
||
user1 = User.create(name: 'User 1', | ||
email: '[email protected]', | ||
password: '12341234', | ||
password_confirmation: '12341234') | ||
user1 = User.create!(name: 'User 1', | ||
email: '[email protected]', | ||
password: '12341234', | ||
password_confirmation: '12341234') | ||
|
||
user2 = User.create(name: 'User 2', | ||
email: '[email protected]', | ||
password: '12341234', | ||
password_confirmation: '12341234') | ||
user2 = User.create!(name: 'User 2', | ||
email: '[email protected]', | ||
password: '12341234', | ||
password_confirmation: '12341234') | ||
|
||
user3 = User.create(name: 'User 3', | ||
email: '[email protected]', | ||
password: '12341234', | ||
password_confirmation: '12341234') | ||
user3 = User.create!(name: 'User 3', | ||
email: '[email protected]', | ||
password: '12341234', | ||
password_confirmation: '12341234') | ||
end |
Empty file.