Skip to content

Commit

Permalink
#24 Clean up code and add login links to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marjinal1st committed Sep 10, 2013
1 parent c581aa2 commit 560fd1b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 16 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#### [Current]

####
* [c581aa2](../../commit/c581aa2) - __(Ahmet Sezgin Duran)__ [#24](../../issues/24) Create default users for development and update README.md
* [1943cab](../../commit/1943cab) - __(Muhammet DİLEK)__ [#20](../../issues/20) edit and new page added
* [6206a77](../../commit/6206a77) - __(Muhammet DİLEK)__ [#20](../../issues/20) pagination view added
* [3c7bf81](../../commit/3c7bf81) - __(Muhammet DİLEK)__ [#20](../../issues/20) ransack form added
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
31 changes: 15 additions & 16 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 added yakut_test
Empty file.

0 comments on commit 560fd1b

Please sign in to comment.