Skip to content

Split keyword and category functionality into MVC units #1247

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

Merged
merged 8 commits into from
Feb 1, 2018

Conversation

jtgeibel
Copy link
Member

This PR is based on #1155 which is not yet merged to master. This comparison shows just the changes built on top of that branch.

This PR moves the request handlers for keyword and category functionality to the controllers module. I extracted the common use statements into a controllers::prelude.

Encodable* structs and the rfc3339 tests are moved under views and the remaining model structs, impls, and tests are moved under models.

@carols10cents
Copy link
Member

bors: r+

bors-voyager bot added a commit that referenced this pull request Feb 1, 2018
1247: Split keyword and category functionality into MVC units r=carols10cents

This PR is based on #1155 which is not yet merged to master.  This [comparison](jtgeibel/crates.io@add-mvc-modules...jtgeibel:mvc-keyword-and-category) shows just the changes built on top of that branch.

This PR moves the request handlers for keyword and category functionality to the `controllers` module.  I extracted the common `use` statements into a `controllers::prelude`.

`Encodable*` structs and the rfc3339 tests are moved under `views` and the remaining model structs, impls, and tests are moved under `models`.
@bors-voyager
Copy link
Contributor

bors-voyager bot commented Feb 1, 2018

Build succeeded

@bors-voyager bors-voyager bot merged commit 658b62f into rust-lang:master Feb 1, 2018
@jtgeibel
Copy link
Member Author

jtgeibel commented Feb 1, 2018

Thanks @carols10cents! I hope to have a few in the pipeline soon.

@jtgeibel jtgeibel deleted the mvc-keyword-and-category branch February 1, 2018 01:04
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.

2 participants