This should give you all the REST routes for surveys and survey_sections, namespaced under admin, as well as the path and url helpers admin_sections_path, etc. Typing all this on my phone so just running this example might not work so good.
Check out the Rails Guide for routing, especially the nested resources section: http://guides.rubyonrails.org/routing.html#nested-resources
$ git clone git://gist.github.com/<gist-id>.git survey_app
$ cd survey_app
$ bundle --path vendor/bundle --binstubs .bundle/bin
$ RAILS_ENV=production .bundle/bin/rackup -p 3000 -s thin
# new shell
$ curl -s http://0.0.0.0:3000/admin/surveys/new
$ curl -s -X POST -d 'survey[whatnot]=whatchathinkinbout' http://0.0.0.0:3000/admin/surveys
$ curl -s -X GET http://0.0.0.0:3000/admin/surveys/1