add dynamic routing to config/routes.rb , add dynamic_restful_controller