collin (owner)

Revisions

gist: 165548 Download_button fork
public
Public Clone URL: git://gist.github.com/165548.git
Embed All Files: show embed
routes.rb #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
map "/tcp",
  :method => 'post',
  :to => TCPResourcesController.action(:create)
  
map "/tcp/:id",
  :method => 'get',
  :to => TCPResourcesController.action(:show)
  
map "/tcp/:id/:transport",
  :method => 'get',
  :toh => TCPResourcesController.action(:transport)
 
map '/static/*',
  :method => 'get',
  :to => Rack::Directory.new(Orbited.root/'../static'.to_s)