Sha256: e5224b694aa40eea870236395396db7d45f41ac74655e189bf8f9263230d1b7e

Contents?: true

Size: 1.17 KB

Versions: 5

Compression:

Stored size: 1.17 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'

# Events
client '/events', component: 'main', controller: 'events', 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'

# 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.5.pre9 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.9.5.pre8 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.9.5.pre7 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.9.5.pre6 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.9.5.pre5 spec/apps/kitchen_sink/app/main/config/routes.rb