Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to make redirect view for 4.0 version? #61

Closed
racibaz opened this issue Sep 20, 2017 · 1 comment
Closed

How to make redirect view for 4.0 version? #61

racibaz opened this issue Sep 20, 2017 · 1 comment

Comments

@racibaz
Copy link

racibaz commented Sep 20, 2017

I used version 3. It makes redirect to view in the controller.

return Theme::view('frontend.index', compact( 'var1', 'var2', ))->render();

But how to make redirect to view with version v4.0.2?

Thanks @kaidesu

@kaidesu
Copy link
Contributor

kaidesu commented Sep 21, 2017

With v4 you may simply use the native view method - the package automatically hooks into this process to resolve the correct view to load (whether its from your theme or your root app)

@kaidesu kaidesu closed this as completed Sep 21, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants