Turn `feedback_features_path` into snake_case

This commit is contained in:
Andreas Nedbal 2022-01-22 21:30:39 +01:00 committed by Andreas Nedbal
parent 8fba959f5e
commit 77c6dc7120
2 changed files with 2 additions and 2 deletions

View File

@ -11,5 +11,5 @@
Canny('render', {
boardToken: '#{APP_CONFIG['canny']['feature_board']}',
ssoToken: '#{canny_token}',
basePath: '/feedback/feature-requests'
basePath: '/feedback/feature_requests'
});

View File

@ -146,7 +146,7 @@ Rails.application.routes.draw do
match '/feedback/consent', to: 'feedback#consent', via: ['get', 'post'], as: 'feedback_consent'
match '/feedback/bugs(/*any)', to: 'feedback#bugs', via: 'get', as: 'feedback_bugs'
match '/feedback/feature-requests(/*any)', to: 'feedback#features', via: 'get', as: 'feedback_features'
match '/feedback/feature_requests(/*any)', to: 'feedback#features', via: 'get', as: 'feedback_features'
puts 'processing time of routes.rb: ' + "#{(Time.now - start).round(3).to_s.ljust(5, '0')}s".light_green
end