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

Update resource management workflow in Admin namespace #142

Merged
merged 4 commits into from
Dec 12, 2016

Conversation

danguita
Copy link
Contributor

Connects to #121.

What does this PR do?

This PR slightly updates all Admin, User and Site management workflows by redirecting back to the edit action when performing an update request.

It also increases the test coverage by adding controller tests and refactoring the existing ones.

How should this be manually tested?

This could be tested by submitting an update of any of these resources and checking that the request gets redirected to the resource's edit URL, and shows the proper flash message.

i.e.:

  • Admin: http:https://gobierto.dev/admin/admins/<admin_id>/edit.
  • User: http:https://gobierto.dev/admin/users/<user_id>/edit.
  • Site: http:https://gobierto.dev/admin/sites/<site_id>/edit.

@danguita danguita force-pushed the 121-admin-management-workflow branch from 875f706 to 38f1256 Compare December 12, 2016 09:22
@ferblape
Copy link
Member

👍

@ferblape ferblape merged commit 0b21322 into master Dec 12, 2016
@danguita danguita deleted the 121-admin-management-workflow branch December 12, 2016 13:35
@depfu depfu bot mentioned this pull request Sep 8, 2017
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.

None yet

2 participants