simple-login 0.0.9 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +21 -6
- data/lib/simple_login/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -20,13 +20,13 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
Once you've added the gem into your Gemfile, you only need to run the following command:
|
22
22
|
|
23
|
-
rails g simple_login
|
23
|
+
rails g simple_login
|
24
24
|
|
25
25
|
Rails will generate the login and view files.
|
26
26
|
|
27
27
|
Then run:
|
28
28
|
|
29
|
-
rake db:migrate
|
29
|
+
rake db:migrate
|
30
30
|
|
31
31
|
The user table will be created.
|
32
32
|
|
@@ -34,10 +34,25 @@ I also recommend activating the root_path.
|
|
34
34
|
|
35
35
|
To add the links to your app just add the following paths:
|
36
36
|
|
37
|
-
signup_path
|
38
|
-
login_path
|
39
|
-
logout_path
|
40
|
-
password_reset_path
|
37
|
+
signup_path
|
38
|
+
login_path
|
39
|
+
logout_path
|
40
|
+
password_reset_path
|
41
|
+
|
42
|
+
## Out of the box use
|
43
|
+
|
44
|
+
You can run
|
45
|
+
|
46
|
+
rails s
|
47
|
+
|
48
|
+
Open your browser and access http://localhost:3000
|
49
|
+
|
50
|
+
Then you can access the following routes:
|
51
|
+
|
52
|
+
http://localhost:3000/signup
|
53
|
+
http://localhost:3000/login
|
54
|
+
http://localhost:3000/logout
|
55
|
+
http://localhost:3000/password_reset
|
41
56
|
|
42
57
|
## Contributing
|
43
58
|
|
data/lib/simple_login/version.rb
CHANGED