Sha256: 8686ae7d0527871288e15444d7aa5ac3df5a029037f46ed3e7e903a3915e3880

Contents?: true

Size: 1.26 KB

Versions: 3

Compression:

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

# 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

3 entries across 3 versions & 1 rubygems

Version Path
volt-0.9.5 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.9.5.pre12 spec/apps/kitchen_sink/app/main/config/routes.rb
volt-0.9.5.pre11 spec/apps/kitchen_sink/app/main/config/routes.rb