Skip to content

How to add url parameters for redirectTo ? #45

New issue

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

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

Already on GitHub? Sign in to your account

Closed
josephbuchma opened this issue Feb 5, 2015 · 3 comments
Closed

How to add url parameters for redirectTo ? #45

josephbuchma opened this issue Feb 5, 2015 · 3 comments

Comments

@josephbuchma
Copy link

Hi.
I'm looking for something like this:

$stateProvider 
    .state 'dashboard',
        url: '/dashboard'
        views:
            "sidebar": templateUrl: 'views/dashboard/sidebar.html'
            "content": templateUrl: 'views/dashboard/content.html'
        data:
            permissions:
                only: ['authorized']
                redirectTo: 'loading'
                redirectToParams: {next: 'dashboard'}
@RafaelVidaurre
Copy link
Owner

I'm not sure there's currently a way to do this, though I understand the use. If you feel like it please submit a PR and I'll check your solution. I'm currently very busy and have been ahving a hard time maintaining the module

@RafaelVidaurre
Copy link
Owner

This is the same as #26 please help voting for the following issue at the ui-router repo: Issue

@zamrokk
Copy link

zamrokk commented Mar 10, 2016

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants