Sha256: d6e6918fc3de2c814fb35a26f44cbc3bc0fccbb6f4e363a5cbe00a563d713b3f

Contents?: true

Size: 1.43 KB

Versions: 6

Compression:

Stored size: 1.43 KB

Contents

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

client '/bindings/{{ route_test }}', action: 'bindings'
client '/bindings', action: 'bindings'
client '/form', action: 'form'
client '/store', action: 'store_demo'
client '/cookie_test', action: 'cookie_test'
client '/flash', action: 'flash'
client '/yield', action: 'yield'
client '/first_last', action: 'first_last'
client '/todos', controller: 'todos'
client '/html_safe', action: 'html_safe'
client '/missing', action: 'missing'
client '/require_test', action: 'require_test'
client '/images', action: 'images'
client '/login_from_task', action: 'login_from_task'
client '/callbacks', action: 'callbacks'

# Events
client '/events', component: 'main', controller: 'events', action: 'index'

client '/save', component: 'main', controller: 'save', action: 'index'

# 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'
post '/simple_http', controller: 'simple_http', action: 'create'

# 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

6 entries across 6 versions & 1 rubygems

Version Path
volt-0.9.7.pre8 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.9.7.pre7 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.9.7.pre6 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.9.7.pre5 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.9.7.pre3 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.9.7.pre2 spec/apps/kitchen_sink/app/main/config/routes.rb