Laravel Form Request Validation - Append hashtag at the end of route URL
20:01 16 May 2016

I am using a form request class to validate form and I am trying to use a custom URL.

protected $redirectRoute ='account.settings';

That is what I have right now. But I want to append a hashtag at the end of it. I tried the following but it didn't work.

protected $redirectRoute ='account.settings' . '#general';

It simply says:

Route [account.settings#general] not defined.

How can I fix this issue?

Thanks.

php laravel