This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Routes | |
Route::group(array('domain' => '{account}.primarydomain.com', 'before' => 'getSubdomain'), function() | |
{ | |
Route::get('/', function() | |
{ | |
if (Auth::guest()) { | |
return Redirect::guest('login'); | |
} else { | |
return Redirect::to('secure/dashboard'); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "PlayerViewController.h" | |
@interface PlayerViewController () | |
@end | |
@implementation PlayerViewController | |
- (void)viewDidLoad { | |
[super viewDidLoad]; |