Sha256: e71a526496775b4994a8e1c6a65007fede9740d6567627cf0d0aca3a1ed166d8

Contents?: true

Size: 1.05 KB

Versions: 5

Compression:

Stored size: 1.05 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 '/store', action: 'store'
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'

# 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.2 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.9.1 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.9.1.pre5 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.9.1.pre4 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.9.1.pre3 spec/apps/kitchen_sink/app/main/config/routes.rb