fix routes and rspec in controller tests