Sha256: c3a467caaecc82b0ae94cec5b400f57ebaf9053be54a420968a1e9efc5a4fd28

Contents?: true

Size: 904 Bytes

Versions: 1

Compression:

Stored size: 904 Bytes

Contents

# See https://github.com/voltrb/volt#routes for more info on routes

client '/bindings/{{ route_test }}', action: 'bindings'
client '/bindings', action: 'bindings'
client '/store', action: 'store'
client '/cookie_test', action: 'cookie_test'
client '/flash', action: 'flash'
client '/yield', action: 'yield'
client '/todos', controller: 'todos'

# Signup/login routes
client '/signup', controller: 'user-templates', action: 'signup'
client '/login', controller: 'user-templates', action: 'login'

# HTTP endpoints
get '/simple_http', controller: 'simple_http', action: 'index'
get '/simple_http/store', controller: 'simple_http', action: 'show'
post '/simple_http/upload', controller: 'simple_http', action: 'upload'

# Route for file uploads
client '/upload', controller: 'upload', action: 'index'

# The main route, this should be last.  It will match any params not previously matched.
client '/', {}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
volt-0.8.27.beta7 spec/apps/kitchen_sink/app/main/config/routes.rb