Sha256: 584fc9edfcfde27b05321522dfd6c2c967d4a61efa509c75b4909a87198bc081

Contents?: true

Size: 910 Bytes

Versions: 5

Compression:

Stored size: 910 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', component: 'user_templates', controller: 'signup'
client '/login', component: 'user_templates', controller: '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

5 entries across 5 versions & 1 rubygems

Version Path
volt-0.9.0.pre3 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.9.0.pre2 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.9.0.pre1 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.8.27.beta9 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.8.27.beta8 spec/apps/kitchen_sink/app/main/config/routes.rb