File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 7575 }
7676
7777 // Handle direction selection
78- if ($ request ->has ('direction ' )) {
79- $ direction = $ request ->get ('direction ' , 'ltr ' );
80- // if the direction has changed, let's show a success message
81- if (Session::get ('backpack.ui.html_direction ' ) !== $ direction ) {
82- Alert::success ('Now using direction: ' . $ direction )->flash ();
78+ if ($ request ->has ('direction ' )) {
79+ $ direction = $ request ->get ('direction ' , 'ltr ' );
80+ // if the direction has changed, let's show a success message
81+ if (Session::get ('backpack.ui.html_direction ' ) !== $ direction ) {
82+ Alert::success ('Now using direction: ' .$ direction )->flash ();
83+ }
84+ Session::put ('backpack.ui.html_direction ' , $ direction );
8385 }
84- Session::put ('backpack.ui.html_direction ' , $ direction );
85- }
8686
87- Session::put ('backpack.theme-tabler.styles ' , $ selectedStyles );
87+ Session::put ('backpack.theme-tabler.styles ' , $ selectedStyles );
8888 }
8989
9090 return Redirect::back ();
You can’t perform that action at this time.
0 commit comments