Navigation Menu

Skip to content

Commit

Permalink
Minimal requires
Browse files Browse the repository at this point in the history
  • Loading branch information
haines committed Jan 17, 2013
1 parent 2bfa25a commit f4c8a13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 4 additions & 2 deletions lib/draper.rb
@@ -1,4 +1,8 @@
require 'action_view'
require 'active_model/serialization'
require 'active_support/inflector'
require 'active_support/core_ext/hash/keys'
require 'active_support/core_ext/hash/reverse_merge'

require 'draper/version'
require 'draper/view_helpers'
Expand All @@ -15,8 +19,6 @@
require 'draper/collection_decorator'
require 'draper/railtie' if defined?(Rails)

require 'active_support/core_ext/hash/keys'

module Draper
def self.setup_action_controller(base)
base.class_eval do
Expand Down
3 changes: 0 additions & 3 deletions lib/draper/decorator.rb
@@ -1,6 +1,3 @@
require 'active_support/core_ext/array/extract_options'
require 'active_model/serialization'

module Draper
class Decorator
include Draper::ViewHelpers
Expand Down

0 comments on commit f4c8a13

Please sign in to comment.