Sha256: 86c78d3fd3fab6ccb0b60575a3282c04fdcf79319059f3137216d0a28754a212

Contents?: true

Size: 185 Bytes

Versions: 42

Compression:

Stored size: 185 Bytes

Contents

module ActionDispatch::Routing
  class Mapper
    def mount_rails_db_routes(options = {})
      mount RailsDb::Engine => '/rails/db', :as => options[:as] || 'rails_db'
    end
  end
end

Version data entries

42 entries across 42 versions & 2 rubygems

Version Path
rails_db-2.4.5 lib/rails/routes.rb
rails_db-2.4.4 lib/rails/routes.rb
rails_db-2.4.3 lib/rails/routes.rb
rails_db-2.4.2 lib/rails/routes.rb
rails_db-2.4.1 lib/rails/routes.rb
rails_db-2.4.0 lib/rails/routes.rb
rails_db-2.3.1 lib/rails/routes.rb
rails_db-2.3.0 lib/rails/routes.rb
rails_db-2.2.1 lib/rails/routes.rb
rails_db-2.2.0 lib/rails/routes.rb
rails_db-2.1.1 lib/rails/routes.rb
rails_db-2.1.0 lib/rails/routes.rb
rails_db-2.0.6 lib/rails/routes.rb
rails_db-2.0.5 lib/rails/routes.rb
rails_db-2.0.4 lib/rails/routes.rb
xplore-0.0.1.alpha lib/rails/routes.rb
rails_db-2.0.3 lib/rails/routes.rb
rails_db-2.0.2 lib/rails/routes.rb
rails_db-2.0.1 lib/rails/routes.rb
rails_db-2.0.0 lib/rails/routes.rb