Skip to content
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.

Commit

Permalink
Get rid of acts_as_audited and remove the admin/updates controller fo…
Browse files Browse the repository at this point in the history
…r now.

This is in line with the direction we're taking the photo syncing (clean photo creates/deletes as the photos are added/removed, no more logical deletions).
  • Loading branch information
timriley committed Jan 5, 2009
1 parent 8b66509 commit 305c52b
Show file tree
Hide file tree
Showing 30 changed files with 2 additions and 1,149 deletions.
12 changes: 0 additions & 12 deletions app/controllers/admin/updates_controller.rb

This file was deleted.

2 changes: 0 additions & 2 deletions app/helpers/admin/updates_helper.rb

This file was deleted.

2 changes: 0 additions & 2 deletions app/models/photo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ class Photo < ActiveRecord::Base

named_scope :active, :conditions => { :active => true }
named_scope :inactive, :conditions => { :active => false }

acts_as_audited

validates_uniqueness_of :flickr_id
validates_presence_of :flickr_id, :message => "can't be blank"
Expand Down
13 changes: 0 additions & 13 deletions app/views/admin/updates/_audit.haml

This file was deleted.

6 changes: 0 additions & 6 deletions app/views/admin/updates/index.haml

This file was deleted.

4 changes: 2 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
admin.resource :theme
admin.resource :login
admin.logout '/logout', :controller => 'logins', :action => 'destroy'
admin.root :controller => 'updates', :action => 'index'
admin.root :controller => 'settings', :action => 'show'
end

map.connect ':page', :controller => 'pages', :action => 'show'
end
end
23 changes: 0 additions & 23 deletions db/migrate/20080706055700_add_audits_table.rb

This file was deleted.

10 changes: 0 additions & 10 deletions spec/controllers/admin/updates_controller_spec.rb

This file was deleted.

5 changes: 0 additions & 5 deletions spec/helpers/admin/updates_helper_spec.rb

This file was deleted.

2 changes: 0 additions & 2 deletions vendor/plugins/acts_as_audited/.gitignore

This file was deleted.

22 changes: 0 additions & 22 deletions vendor/plugins/acts_as_audited/CHANGELOG

This file was deleted.

67 changes: 0 additions & 67 deletions vendor/plugins/acts_as_audited/README

This file was deleted.

28 changes: 0 additions & 28 deletions vendor/plugins/acts_as_audited/Rakefile

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

9 changes: 0 additions & 9 deletions vendor/plugins/acts_as_audited/init.rb

This file was deleted.

Loading

0 comments on commit 305c52b

Please sign in to comment.