classes/Models/Base.php
public function getAdminEditUri($controller, $many_to_many = false)
    {
        if ($many_to_many) {
            return URL::to(DecoyURL::action($controller.'@edit', $this->getKey()));
        }

        return URL::to(DecoyURL::relative('edit', $this->getKey(), $controller));
    }
public function getAdminEditUri($controller, $many_to_many = false)
    {
        if ($many_to_many) {
            return URL::to(DecoyURL::action($controller.'@edit', $this->getKey()));
        }

        return URL::to(DecoyURL::relative('edit', $this->getKey(), $controller));
    }
public function getAdminEditUri ( $ controller , $ many_to_many = false ) { if ( $ many_to_many ) { return URL :: to ( DecoyURL :: action ( $ controller . '@edit' , $ this -> getKey ( ) ) ) ; } return URL :: to ( DecoyURL :: relative ( 'edit' , $ this -> getKey ( ) , $ controller ) ) ; }
Get the admin edit URL assuming you know the controller and whether it's
being listed as a many to many

@param  string  $controller   ex: Admin\ArticlesController
@param  boolean $many_to_many
@return string
Get the admin edit URL assuming you know the controller and whether it s being listed as a many to many