Fix documentation for ComfortableMexicanSofa::HttpAuth
Vladimir Andrijevik
committed Oct 22, 2011
commit 515ac7814c6673c830246d9e7f7e4d4745f962b5
Showing 1
changed file with
2 additions
and 3 deletions
comfortable_mexican_sofa/authentication/http_auth.rb b/lib/comfortable_mexican_sofa/authentication/http_auth.rb
+2
-3
| @@ | @@ -1,8 +1,8 @@ |
| module ComfortableMexicanSofa::HttpAuth | |
| # Set username and password in config/initializers/comfortable_mexican_sofa.rb | |
| # Like this: | |
| - | # CmsHttpAuthentication.username = 'myname' |
| - | # CmsHttpAuthentication.password = 'mypassword' |
| + | # ComfortableMexicanSofa::HttpAuth.username = 'myname' |
| + | # ComfortableMexicanSofa::HttpAuth.password = 'mypassword' |
| mattr_accessor :username, | |
| :password | |
| @@ | @@ -14,5 +14,4 @@ module ComfortableMexicanSofa::HttpAuth |
| username == self.username && password == self.password | |
| end | |
| end | |
| - | |
| end | |
| \ No newline at end of file | |