README.md in effective_logging-3.0.10 vs README.md in effective_logging-3.0.11
- old
+ new
@@ -209,17 +209,9 @@
class Post < ActiveRecord::Base
log_changes
end
```
-and to your controller:
-
-```ruby
-class ApplicationController < ActionController::Base
- before_action :set_effective_logging_current_user
-end
-```
-
Then to see the log for this resource, on any view:
```erb
<%= render_datatable(@post.log_changes_datatable) %>
```