$this->redirect()

Permalink
I have used $this->redirect('pagename') in the past.

Just installed 5.6 and now get an error Call to undefined method Concrete5_Library_View::redirect()

has this function being removed?

edbeeny
View Replies: View Best Answer
ScottC replied on at Permalink Best Answer Reply
ScottC
$this->redirect is usually a controller method, not a view method

You would probably want to do
$this->redirect('/page_path'); and not just name the page, I wasn't aware you could grab it by its collection name and redirect to it.

Take care