From f2fa11b2ee3a1eeed2ef221d9c3c1b273a3cb63b Mon Sep 17 00:00:00 2001 From: yarzar_code Date: Wed, 9 Sep 2020 17:19:07 +0630 Subject: [PATCH] change back btn link dashboard to root path --- app/views/crm/dining_queues/assign.html.erb | 2 +- app/views/crm/dining_queues/index.html.erb | 2 +- app/views/settings/accounts/index.html.erb | 2 +- app/views/settings/cashier_terminals/index.html.erb | 2 +- app/views/settings/commissioners/index.html.erb | 2 +- app/views/settings/commissions/index.html.erb | 2 +- app/views/settings/employees/index.html.erb | 2 +- app/views/settings/item_sets/index.html.erb | 2 +- app/views/settings/lookups/index.html.erb | 2 +- app/views/settings/membership_actions/index.html.erb | 2 +- app/views/settings/membership_settings/index.html.erb | 2 +- app/views/settings/membership_settings/show.html.erb | 2 +- app/views/settings/menu_item_attributes/index.html.erb | 2 +- app/views/settings/menu_item_groups/index.html.erb | 2 +- app/views/settings/menu_item_options/index.html.erb | 2 +- app/views/settings/menu_item_sets/index.html.erb | 2 +- app/views/settings/menus/index.html.erb | 2 +- app/views/settings/order_queue_stations/index.html.erb | 2 +- app/views/settings/payment_method_settings/index.html.erb | 2 +- app/views/settings/products/index.html.erb | 2 +- app/views/settings/promotion_products/index.html.erb | 2 +- app/views/settings/promotions/index.html.erb | 2 +- app/views/settings/rooms/index.html.erb | 2 +- app/views/settings/set_menu_items/index.html.erb | 2 +- app/views/settings/shops/index.html.erb | 2 +- app/views/settings/simple_menu_items/index.html.erb | 2 +- app/views/settings/tables/index.html.erb | 2 +- app/views/settings/tax_profiles/index.html.erb | 2 +- app/views/settings/zones/index.html.erb | 2 +- app/views/transactions/bookings/index.html.erb | 2 +- app/views/transactions/card_sale_trans/index.html.erb | 2 +- app/views/transactions/card_settle_trans/index.html.erb | 2 +- app/views/transactions/credit_notes/index.html.erb | 2 +- app/views/transactions/order_reservations/index.html.erb | 2 +- app/views/transactions/orders/index.html.erb | 2 +- app/views/transactions/sales/index.html.erb | 2 +- app/views/transactions/shift_sales/index.html.erb | 2 +- app/views/transactions/surveys/index.html.erb | 2 +- 38 files changed, 38 insertions(+), 38 deletions(-) diff --git a/app/views/crm/dining_queues/assign.html.erb b/app/views/crm/dining_queues/assign.html.erb index 5f8c25cd..65e4e4cc 100755 --- a/app/views/crm/dining_queues/assign.html.erb +++ b/app/views/crm/dining_queues/assign.html.erb @@ -5,7 +5,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/crm/dining_queues/index.html.erb b/app/views/crm/dining_queues/index.html.erb index def48f89..eca824dd 100755 --- a/app/views/crm/dining_queues/index.html.erb +++ b/app/views/crm/dining_queues/index.html.erb @@ -4,7 +4,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/settings/accounts/index.html.erb b/app/views/settings/accounts/index.html.erb index 8c3663f6..4e88e836 100755 --- a/app/views/settings/accounts/index.html.erb +++ b/app/views/settings/accounts/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %> + <%= link_to t('.back', :default => t("views.btn.back")), root_path %> diff --git a/app/views/settings/cashier_terminals/index.html.erb b/app/views/settings/cashier_terminals/index.html.erb index ff1fc983..dc2576ff 100755 --- a/app/views/settings/cashier_terminals/index.html.erb +++ b/app/views/settings/cashier_terminals/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %> + <%= link_to t('.back', :default => t("views.btn.back")), root_path %> diff --git a/app/views/settings/commissioners/index.html.erb b/app/views/settings/commissioners/index.html.erb index 0a9b1351..26e654b3 100755 --- a/app/views/settings/commissioners/index.html.erb +++ b/app/views/settings/commissioners/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %> + <%= link_to t('.back', :default => t("views.btn.back")), root_path %> diff --git a/app/views/settings/commissions/index.html.erb b/app/views/settings/commissions/index.html.erb index beca15da..30e0e0c9 100755 --- a/app/views/settings/commissions/index.html.erb +++ b/app/views/settings/commissions/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %> + <%= link_to t('.back', :default => t("views.btn.back")), root_path %> diff --git a/app/views/settings/employees/index.html.erb b/app/views/settings/employees/index.html.erb index 156f21d4..558f473e 100755 --- a/app/views/settings/employees/index.html.erb +++ b/app/views/settings/employees/index.html.erb @@ -4,7 +4,7 @@ - <%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %> + <%= link_to t('.back', :default => t("views.btn.back")), root_path %> diff --git a/app/views/settings/item_sets/index.html.erb b/app/views/settings/item_sets/index.html.erb index d4fd59a0..ab984df9 100755 --- a/app/views/settings/item_sets/index.html.erb +++ b/app/views/settings/item_sets/index.html.erb @@ -4,7 +4,7 @@ - <%= link_to t("views.btn.back"), dashboard_path %> + <%= link_to t("views.btn.back"), root_path %> diff --git a/app/views/settings/lookups/index.html.erb b/app/views/settings/lookups/index.html.erb index 973781fb..bb29c207 100755 --- a/app/views/settings/lookups/index.html.erb +++ b/app/views/settings/lookups/index.html.erb @@ -4,7 +4,7 @@ - <%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %> + <%= link_to t('.back', :default => t("views.btn.back")), root_path %> diff --git a/app/views/settings/membership_actions/index.html.erb b/app/views/settings/membership_actions/index.html.erb index 51a281af..ea27350f 100755 --- a/app/views/settings/membership_actions/index.html.erb +++ b/app/views/settings/membership_actions/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %> + <%= link_to t('.back', :default => t("views.btn.back")), root_path %> diff --git a/app/views/settings/membership_settings/index.html.erb b/app/views/settings/membership_settings/index.html.erb index cf6f4d7f..652475cb 100755 --- a/app/views/settings/membership_settings/index.html.erb +++ b/app/views/settings/membership_settings/index.html.erb @@ -4,7 +4,7 @@ - <%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %> + <%= link_to t('.back', :default => t("views.btn.back")), root_path %> diff --git a/app/views/settings/membership_settings/show.html.erb b/app/views/settings/membership_settings/show.html.erb index ece2ff17..0b60c598 100755 --- a/app/views/settings/membership_settings/show.html.erb +++ b/app/views/settings/membership_settings/show.html.erb @@ -3,7 +3,7 @@ - <%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %> + <%= link_to t('.back', :default => t("views.btn.back")), root_path %> diff --git a/app/views/settings/menu_item_attributes/index.html.erb b/app/views/settings/menu_item_attributes/index.html.erb index c0b6466c..1be36c1c 100755 --- a/app/views/settings/menu_item_attributes/index.html.erb +++ b/app/views/settings/menu_item_attributes/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/settings/menu_item_groups/index.html.erb b/app/views/settings/menu_item_groups/index.html.erb index aeb76c3a..77fd960f 100644 --- a/app/views/settings/menu_item_groups/index.html.erb +++ b/app/views/settings/menu_item_groups/index.html.erb @@ -4,7 +4,7 @@ - <%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %> + <%= link_to t('.back', :default => t("views.btn.back")), root_path %> diff --git a/app/views/settings/menu_item_options/index.html.erb b/app/views/settings/menu_item_options/index.html.erb index f4af3b4e..d6e569fe 100755 --- a/app/views/settings/menu_item_options/index.html.erb +++ b/app/views/settings/menu_item_options/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/settings/menu_item_sets/index.html.erb b/app/views/settings/menu_item_sets/index.html.erb index b7fce11f..3136a3e9 100755 --- a/app/views/settings/menu_item_sets/index.html.erb +++ b/app/views/settings/menu_item_sets/index.html.erb @@ -4,7 +4,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/settings/menus/index.html.erb b/app/views/settings/menus/index.html.erb index 767655a3..ef1e743b 100755 --- a/app/views/settings/menus/index.html.erb +++ b/app/views/settings/menus/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/settings/order_queue_stations/index.html.erb b/app/views/settings/order_queue_stations/index.html.erb index b9fd7453..7d047d7b 100755 --- a/app/views/settings/order_queue_stations/index.html.erb +++ b/app/views/settings/order_queue_stations/index.html.erb @@ -4,7 +4,7 @@ - <%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %> + <%= link_to t('.back', :default => t("views.btn.back")), root_path %> diff --git a/app/views/settings/payment_method_settings/index.html.erb b/app/views/settings/payment_method_settings/index.html.erb index eacaa907..1cef9271 100755 --- a/app/views/settings/payment_method_settings/index.html.erb +++ b/app/views/settings/payment_method_settings/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %> + <%= link_to t('.back', :default => t("views.btn.back")), root_path %> diff --git a/app/views/settings/products/index.html.erb b/app/views/settings/products/index.html.erb index a907dc6b..7b6193e3 100755 --- a/app/views/settings/products/index.html.erb +++ b/app/views/settings/products/index.html.erb @@ -4,7 +4,7 @@ - <%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %> + <%= link_to t('.back', :default => t("views.btn.back")), root_path %> diff --git a/app/views/settings/promotion_products/index.html.erb b/app/views/settings/promotion_products/index.html.erb index d918e994..043983ca 100755 --- a/app/views/settings/promotion_products/index.html.erb +++ b/app/views/settings/promotion_products/index.html.erb @@ -4,7 +4,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/settings/promotions/index.html.erb b/app/views/settings/promotions/index.html.erb index b80a423b..c7d64c93 100755 --- a/app/views/settings/promotions/index.html.erb +++ b/app/views/settings/promotions/index.html.erb @@ -4,7 +4,7 @@ - <%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %> + <%= link_to t('.back', :default => t("views.btn.back")), root_path %> diff --git a/app/views/settings/rooms/index.html.erb b/app/views/settings/rooms/index.html.erb index 05433334..3b4cd1f4 100755 --- a/app/views/settings/rooms/index.html.erb +++ b/app/views/settings/rooms/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/settings/set_menu_items/index.html.erb b/app/views/settings/set_menu_items/index.html.erb index ad3118b0..aa33f090 100755 --- a/app/views/settings/set_menu_items/index.html.erb +++ b/app/views/settings/set_menu_items/index.html.erb @@ -14,7 +14,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/settings/shops/index.html.erb b/app/views/settings/shops/index.html.erb index a451af49..6faa03a7 100755 --- a/app/views/settings/shops/index.html.erb +++ b/app/views/settings/shops/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %> + <%= link_to t('.back', :default => t("views.btn.back")), root_path %> diff --git a/app/views/settings/simple_menu_items/index.html.erb b/app/views/settings/simple_menu_items/index.html.erb index 9204aad4..beba144e 100755 --- a/app/views/settings/simple_menu_items/index.html.erb +++ b/app/views/settings/simple_menu_items/index.html.erb @@ -14,7 +14,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/settings/tables/index.html.erb b/app/views/settings/tables/index.html.erb index a947adb7..c343298d 100755 --- a/app/views/settings/tables/index.html.erb +++ b/app/views/settings/tables/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/settings/tax_profiles/index.html.erb b/app/views/settings/tax_profiles/index.html.erb index 1f042410..f4cbf5ae 100755 --- a/app/views/settings/tax_profiles/index.html.erb +++ b/app/views/settings/tax_profiles/index.html.erb @@ -4,7 +4,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/settings/zones/index.html.erb b/app/views/settings/zones/index.html.erb index f28b6b5c..d3102ff7 100755 --- a/app/views/settings/zones/index.html.erb +++ b/app/views/settings/zones/index.html.erb @@ -4,7 +4,7 @@ - <%= link_to t("views.btn.back"), dashboard_path %> + <%= link_to t("views.btn.back"), root_path %> diff --git a/app/views/transactions/bookings/index.html.erb b/app/views/transactions/bookings/index.html.erb index 2215ef1c..9a61a001 100755 --- a/app/views/transactions/bookings/index.html.erb +++ b/app/views/transactions/bookings/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/transactions/card_sale_trans/index.html.erb b/app/views/transactions/card_sale_trans/index.html.erb index 4fb0a269..b39cb8b5 100644 --- a/app/views/transactions/card_sale_trans/index.html.erb +++ b/app/views/transactions/card_sale_trans/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/transactions/card_settle_trans/index.html.erb b/app/views/transactions/card_settle_trans/index.html.erb index 9ada295d..e520c624 100644 --- a/app/views/transactions/card_settle_trans/index.html.erb +++ b/app/views/transactions/card_settle_trans/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/transactions/credit_notes/index.html.erb b/app/views/transactions/credit_notes/index.html.erb index 30edde62..26ecddfa 100755 --- a/app/views/transactions/credit_notes/index.html.erb +++ b/app/views/transactions/credit_notes/index.html.erb @@ -14,7 +14,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/transactions/order_reservations/index.html.erb b/app/views/transactions/order_reservations/index.html.erb index 0ddee2e7..6eb6848a 100644 --- a/app/views/transactions/order_reservations/index.html.erb +++ b/app/views/transactions/order_reservations/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/transactions/orders/index.html.erb b/app/views/transactions/orders/index.html.erb index 21b534e2..46ea41e3 100755 --- a/app/views/transactions/orders/index.html.erb +++ b/app/views/transactions/orders/index.html.erb @@ -4,7 +4,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/transactions/sales/index.html.erb b/app/views/transactions/sales/index.html.erb index 0bc30e4a..6d934796 100644 --- a/app/views/transactions/sales/index.html.erb +++ b/app/views/transactions/sales/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/transactions/shift_sales/index.html.erb b/app/views/transactions/shift_sales/index.html.erb index ae6f546b..c834f2b7 100755 --- a/app/views/transactions/shift_sales/index.html.erb +++ b/app/views/transactions/shift_sales/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %> diff --git a/app/views/transactions/surveys/index.html.erb b/app/views/transactions/surveys/index.html.erb index 1e57c1f3..fb6fd9fa 100644 --- a/app/views/transactions/surveys/index.html.erb +++ b/app/views/transactions/surveys/index.html.erb @@ -3,7 +3,7 @@ - <%= link_to 'Back', dashboard_path %> + <%= link_to 'Back', root_path %>