Remove unnecessary classes.

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Parent should not be required to create root categories

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Update routes and path methods

- Create a route to create a subcategory given
a parent category id
- Use path methods instead of directly passing
the model in link_to

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Update controller tests and remove skips

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Update routing spec

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Remove unncessary includes in rails helper

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Update view specs

Fix wrong paths and use factory girl to create
test instances.

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Clean up unnecessary puts lines

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>