Sha256: 959eac60fbcf667fa83a41c075506b274dc4c5d6539cbbf4de8aab090f7b7786
Contents?: true
Size: 1.22 KB
Versions: 4
Compression:
Stored size: 1.22 KB
Contents
RailsPerformance::Engine.routes.draw do get "/" => "rails_performance#index", :as => :rails_performance get "/requests" => "rails_performance#requests", :as => :rails_performance_requests get "/crashes" => "rails_performance#crashes", :as => :rails_performance_crashes get "/recent" => "rails_performance#recent", :as => :rails_performance_recent get "/slow" => "rails_performance#slow", :as => :rails_performance_slow get "/trace/:id" => "rails_performance#trace", :as => :rails_performance_trace get "/summary" => "rails_performance#summary", :as => :rails_performance_summary get "/sidekiq" => "rails_performance#sidekiq", :as => :rails_performance_sidekiq get "/delayed_job" => "rails_performance#delayed_job", :as => :rails_performance_delayed_job get "/grape" => "rails_performance#grape", :as => :rails_performance_grape get "/rake" => "rails_performance#rake", :as => :rails_performance_rake get "/custom" => "rails_performance#custom", :as => :rails_performance_custom end Rails.application.routes.draw do mount RailsPerformance::Engine => RailsPerformance.mount_at, :as => "rails_performance" rescue ArgumentError # already added # this code exist here because engine not includes routing automatically end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rails_performance-1.3.3 | config/routes.rb |
rails_performance-1.3.2 | config/routes.rb |
rails_performance-1.3.1 | config/routes.rb |
rails_performance-1.3.0 | config/routes.rb |