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

Refactor SiteForm object implementation for convenience #33

Merged
merged 1 commit into from
Nov 10, 2016

Conversation

danguita
Copy link
Contributor

This PR implements #17.

What does this PR do?

  • Namespace SiteForm with Admin module.
  • Let's pretend any SiteForm represents an actual Rails model by delegating to_model method.
  • Submit SiteForm parameters under site key.

How should this be manually tested?

Check that any Site management actions still works as expected.

- Namespace `SiteForm` with `Admin` module.
- Let's pretend any `SiteForm` represents an actual Rails model by
  delegating `to_model` method.
- Submit SiteForm parameters under `site` key.
@danguita
Copy link
Contributor Author

Those are just a few improvements, not a big deal.

@danguita danguita merged commit d34af53 into master Nov 10, 2016
@danguita danguita deleted the 17-admin-sites-management-conventional-form branch November 10, 2016 10:56
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

1 participant