- Generate new rails app
- Generate user model with (name: string, role: integer(enum))
- Should be two user roles
adminanduser - Admin should be able to CRUD other users and admin (scaffold)
- User with role
usershould be able to see only welcome page - Use device gem for authentication
forked from geekhub-rails/lesson3
-
Notifications
You must be signed in to change notification settings - Fork 0
sandri4/lesson3
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Ruby 72.4%
- HTML 24.1%
- JavaScript 1.8%
- CSS 1.4%
- CoffeeScript 0.3%