Permalink
Browse files

Documentation clarification

  • Loading branch information...
Nathan Long
Nathan Long committed Feb 14, 2013
1 parent dd17aff commit d39d3fb1e22be1c5253fe37fa703bce5d625259c
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.markdown
View
@@ -211,12 +211,12 @@ So for a very simple, roll-your-own solution, you could do this:
```ruby
# config/initializers/dossier.rb
Rails.application.config.to_prepare do
- # Define this on your ApplicationController
+ # Define `#my_protection_method` on your ApplicationController
Dossier::ReportsController.before_filter :my_protection_method
end
```
-For a more robust solution, you might make use of some gems. Here's a solution using the [Devise](https://github.com/plataformatec/devise) for authentication and [Authority](https://github.com/nathanl/authority) for authorization:
+For a more robust solution, you might make use of some gems. Here's a solution using [Devise](https://github.com/plataformatec/devise) for authentication and [Authority](https://github.com/nathanl/authority) for authorization:
```ruby
# app/controllers/application_controller.rb

0 comments on commit d39d3fb

Please sign in to comment.