lib/parklife/rails.rb in parklife-0.3.0 vs lib/parklife/rails.rb in parklife-0.4.0
- old
+ new
@@ -1,9 +1,5 @@
-require 'parklife/errors'
-
raise Parklife::RailsNotDefinedError unless defined?(Rails)
-
-require 'parklife'
# Allow use of the consuming Rails application's route helpers from within the
# block when defining Parklife routes.
Parklife::RouteSet.include(Rails.application.routes.url_helpers)