Sha256: 4ca021e1971426b6604b222238e6bcc2645fe3a86e26c32a5b7afcf84fc6b666

Contents?: true

Size: 289 Bytes

Versions: 2

Compression:

Stored size: 289 Bytes

Contents

require 'rails/railtie'

module Prospecto
  class Railtie < Rails::Railtie
    initializer "prospecto.initialize" do |app|
      # Import the url helpers to allow resolving of URLs easily
      Prospecto::PresenterView.send :include, Rails.application.routes.url_helpers
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
prospecto-0.2.0 lib/prospecto/railtie.rb
prospecto-0.1.3 lib/prospecto/railtie.rb