as soon as you span multiple lines, everything needs to be made multi-line.

```php
Route::get(
    '/profile/{username}', 
    array(
        'as' => 'profile.view',
        'uses' =>'AccountController@profileView'
    )
);

Route::group(
    array(
        'before' => 'auth'
    ),
    function() {
        Route::get(
            '/account', 
            array(
                'as' => 'auth.account',
                'uses' => 'AccountController@account'
            )
        );
        Route::get(
            '/account/settings',
            array(
                'as' => 'auth.account.settings',
                'uses' => 'AccountController@accountSettings'
            )
        );
    }
);
```