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
 
@@ -1,3 +1,3 @@
1
1
  module AuditRails
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: audit_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: