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

Cleaner admin/settings path #1839

Merged
merged 2 commits into from
Mar 23, 2016
Merged

Cleaner admin/settings path #1839

merged 2 commits into from
Mar 23, 2016

Conversation

rap1ds
Copy link
Member

@rap1ds rap1ds commented Mar 22, 2016

Use /admin/settings path instead of admin/communities/1234/settings

  • Add the new paths, using the non-resourceful routes (they are easier to read and understand)
  • Add redirection from old URL to new URL
  • Change the path name from settings_admin_community_path to admin_settings_path. Also, generating the path doesn't require @current_community parameter anymore, because the community ID is not part of the URL.

@mporkola
Copy link
Contributor

The code looks fine, so in case you tested that the routing actually works it's ok for me _b

@rap1ds rap1ds merged commit cbca661 into master Mar 23, 2016
@rap1ds rap1ds deleted the admin-settings-path branch March 23, 2016 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants