| Total Complexity | 6 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class StartController extends Controller |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Redirect the browser to the appropriate shop site |
||
| 13 | */ |
||
| 14 | public function index() |
||
| 15 | { |
||
| 16 | if (Auth::user() != null && Auth::user()->hasPermission('SELL_TICKETS')) { |
||
| 17 | return redirect()->route('retail.sell.events'); |
||
| 18 | } |
||
| 19 | |||
| 20 | return redirect()->route('ts.events'); |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Change the current locale to the given value |
||
| 25 | */ |
||
| 26 | public function changeLocale($locale) |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Return the currently stored logo |
||
| 34 | */ |
||
| 35 | public function getLogo() |
||
| 45 |