Skip to content

Commit

Permalink
Merge pull request #2128 from jhawthorn/remove_api_root
Browse files Browse the repository at this point in the history
Remove unnecessary Api::Engine.root override
  • Loading branch information
jhawthorn authored Aug 9, 2017
2 parents 584f26f + 8bd6bb5 commit b2acb1e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions api/lib/spree/api/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ class Engine < Rails::Engine
config.extraction_strategy = :http_header
end
end

def self.root
@root ||= Pathname.new(File.expand_path('../../../../', __FILE__))
end
end
end
end

0 comments on commit b2acb1e

Please sign in to comment.