Sha256: 5438bfb63ad68314ef760852fb2ebea732bb71900e8135746b89bcfd4791baad

Contents?: true

Size: 413 Bytes

Versions: 15

Compression:

Stored size: 413 Bytes

Contents

module Challah
  if defined? Rails::Engine
    require 'rails'
    
    class Engine < Rails::Engine
      # Load up the routes first before your application specific routes, so these can be 
      # overridden if needed.
      initializer 'challah.router' do |app|
        raise 'hell'
        app.routes_reloader.paths.insert(0, File.expand_path(File.dirname(__FILE__), 'routes.rb'))
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
challah-0.5.4 lib/challah/railtie.rb
challah-0.5.3 lib/challah/railtie.rb
challah-0.5.2 lib/challah/railtie.rb
challah-0.5.1 lib/challah/railtie.rb
challah-0.5.0 lib/challah/railtie.rb
challah-0.4.1 lib/challah/railtie.rb
challah-0.4.0 lib/challah/railtie.rb
challah-0.3.5 lib/challah/railtie.rb
challah-0.3.4 lib/challah/railtie.rb
challah-0.3.3 lib/challah/railtie.rb
challah-0.3.2 lib/challah/railtie.rb
challah-0.3.1 lib/challah/railtie.rb
challah-0.3.0 lib/challah/railtie.rb
challah-0.2.1 lib/challah/railtie.rb
challah-0.2.0 lib/challah/railtie.rb