fix: Add missing switch_locale on DashboardController (#1631)

This commit is contained in:
Pranav Raj S
2021-01-09 01:43:17 +05:30
committed by GitHub
parent df27aab959
commit a9344fbf4c
2 changed files with 17 additions and 3 deletions

View File

@@ -1,5 +1,9 @@
class DashboardController < ActionController::Base
include SwitchLocale
before_action :set_global_config
around_action :switch_locale
layout 'vueapp'
def index; end