Skip to content

Commit

Permalink
Removing old hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis 'jumph4x authored and romul committed Apr 8, 2012
1 parent 8860630 commit 8d13215
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
12 changes: 0 additions & 12 deletions lib/core_charges_hooks.rb

This file was deleted.

3 changes: 2 additions & 1 deletion lib/spree_core_charges.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
require 'spree_core'
require 'core_charges_hooks'
require 'core_charges_overrides'

module SpreeCoreCharges
class Engine < Rails::Engine

def self.activate

Adjustment.class_eval do
scope :core, lambda { where('label like ?',"#{I18n.t(:core_charge)}%") }
end
Expand Down

0 comments on commit 8d13215

Please sign in to comment.