Sha256: a2996c37ecbd996d12d2161545b4dc44ab4fe00b26d39cf5c726cd0e4542fe9d

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 Bytes

Contents

raise Parklife::RailsNotDefinedError unless defined?(Rails)

# 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)

Parklife.application.config.app = Rails.application

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
parklife-0.4.0 lib/parklife/rails.rb