README.md in tkh_authentication-0.0.7 vs README.md in tkh_authentication-0.0.8
- old
+ new
@@ -1,10 +1,10 @@
# TKH Authentication
This is a Rails engine which provides basic authentication. It is based on Railscasts 250 and 274.
-Primarily developed for Ten Thousand Hours but we are happy to share if anybody finds it useful.
+Primarily developed for Ten Thousand Hours but we are happy to share if anybody finds it useful. It's primarily developed to work in sync with the tkh_cms gem suite but over time more and more effort will be made to make it work in isolation.
It's still in its infancy. Many improvements to come.
## Installation
@@ -46,10 +46,10 @@
To display the login information module anywhere in your views
render 'shared/login_info'
-Ifo restrict access to your controllers to logged in users:
+To restrict access to your controllers to logged in users:
before_filter :authenticate, except: 'show'
Additionally, if you want to restrict access to users whose admin boolean attribute is true, add this line just below the authenticate one.