audit_rails 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -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