Skip to content

Commit bab54d1

Browse files
committed
Apply fixes from StyleCI
1 parent 6bff641 commit bab54d1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

routes/backpack/custom.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,16 @@
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();

0 commit comments

Comments
 (0)