Skip to content
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

Allow routes to be disabled #63

Merged
merged 1 commit into from
Nov 3, 2014
Merged

Allow routes to be disabled #63

merged 1 commit into from
Nov 3, 2014

Conversation

jhenkens
Copy link
Contributor

@jhenkens jhenkens commented Nov 1, 2014

I wanted to be able to have more customization over how this gem worked.

I wanted to be able to override the controller so that I could perform 'remember me' and 'switch user' in one action, but I also wanted to namespace the controller into my Users namespace.

This patch makes it really easy to disable the routes switch_user generates for you so you can just plug your own route in.

(See #55)

lcowell added a commit that referenced this pull request Nov 3, 2014
Allow routes to be disabled
@lcowell lcowell merged commit 6759686 into flyerhzm:master Nov 3, 2014
@lcowell
Copy link
Collaborator

lcowell commented Nov 3, 2014

Good idea. Thanks for contributing.

@flyerhzm
Copy link
Owner

@jhenkens I have to revert your commit because it broke the tests, I'd like to merge your pull request again until you can fix the test failure, thanks.

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

Successfully merging this pull request may close these issues.

3 participants