From 77c6dc7120e8f1d685f5b38282040b5d98b78a7f Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 22 Jan 2022 21:30:39 +0100 Subject: [PATCH] Turn `feedback_features_path` into snake_case --- app/views/feedback/features.haml | 2 +- config/routes.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/feedback/features.haml b/app/views/feedback/features.haml index 66154d03..53501daa 100644 --- a/app/views/feedback/features.haml +++ b/app/views/feedback/features.haml @@ -11,5 +11,5 @@ Canny('render', { boardToken: '#{APP_CONFIG['canny']['feature_board']}', ssoToken: '#{canny_token}', - basePath: '/feedback/feature-requests' + basePath: '/feedback/feature_requests' }); diff --git a/config/routes.rb b/config/routes.rb index e084c4e5..17e915d1 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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