Extracts prepare_routes_requirementes methods.
Extracts prepare_routes_path_params method.
Refactors prepare routes method
fetch without a block.
removes useless assignament.
Merge pull request #770 from towanda/refactor-prepare-routes

Refactor prepare routes method