src/Stevemo/Cpanel/Controllers/UsersThrottlingController.php
public function getStatus($id)
    {
        try
        {
            $throttle = $this->users->getUserThrottle($id);
            $user = $throttle->getUser();
            return View::make(Config::get('cpanel::views.throttle_status'))
                ->with('user',$user)
                ->with('throttle',$throttle);
        }
        catch (UserNotFoundException $e)
        {
            return Redirect::route('admin.users.index')->with('error', $e->getMessage());
        }
    }
public function getStatus($id)
    {
        try
        {
            $throttle = $this->users->getUserThrottle($id);
            $user = $throttle->getUser();
            return View::make(Config::get('cpanel::views.throttle_status'))
                ->with('user',$user)
                ->with('throttle',$throttle);
        }
        catch (UserNotFoundException $e)
        {
            return Redirect::route('admin.users.index')->with('error', $e->getMessage());
        }
    }
public function getStatus ( $ id ) { try { $ throttle = $ this -> users -> getUserThrottle ( $ id ) ; $ user = $ throttle -> getUser ( ) ; return View :: make ( Config :: get ( 'cpanel::views.throttle_status' ) ) -> with ( 'user' , $ user ) -> with ( 'throttle' , $ throttle ) ; } catch ( UserNotFoundException $ e ) { return Redirect :: route ( 'admin.users.index' ) -> with ( 'error' , $ e -> getMessage ( ) ) ; } }
Show the user Throttling status

@author Steve Montambeault
@link   http://stevemo.ca

@param int $id

@return \Illuminate\Http\RedirectResponse|\Illuminate\View\View
Show the user Throttling status