Turn `feedback_features_path` into snake_case
This commit is contained in:
parent
8fba959f5e
commit
77c6dc7120
|
@ -11,5 +11,5 @@
|
|||
Canny('render', {
|
||||
boardToken: '#{APP_CONFIG['canny']['feature_board']}',
|
||||
ssoToken: '#{canny_token}',
|
||||
basePath: '/feedback/feature-requests'
|
||||
basePath: '/feedback/feature_requests'
|
||||
});
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue