audit_rails 0.0.1 → 0.0.2
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.
@@ -2,7 +2,6 @@ require_dependency "audit_rails/application_controller"
|
|
2
2
|
|
3
3
|
module AuditRails
|
4
4
|
class AuditsController < ApplicationController
|
5
|
-
before_filter(:only => :create) {|c| add_to_audit("visit-site", "xyz", "Fake User")}
|
6
5
|
|
7
6
|
def index
|
8
7
|
@audits = AuditRails::Audit.all
|
@@ -14,6 +13,7 @@ module AuditRails
|
|
14
13
|
end
|
15
14
|
|
16
15
|
def create
|
16
|
+
add_to_audit("visit-site", "xyz", "Fake User")
|
17
17
|
render :nothing => true, :status => 200, :content_type => 'text/html'
|
18
18
|
end
|
19
19
|
|
data/lib/audit_rails/version.rb
CHANGED