Sha256: f2789e63863419b76414e9cc4380b21446f34d8f7349d73ff08eeb752a2a4bcd
Contents?: true
Size: 365 Bytes
Versions: 5
Compression:
Stored size: 365 Bytes
Contents
RailsPerformance::Engine.routes.draw do get '/' => 'rails_performance#index', as: :rails_performance end Rails.application.routes.draw do begin mount RailsPerformance::Engine => '/rails/performance', as: 'rails_performance' rescue ArgumentError # already added # this cod exist here because engine not includes routing automatically end end
Version data entries
5 entries across 5 versions & 1 rubygems