Sha256: 74b87250ce8e35cdb7e7535bea10d8846d6d12fac0e719cf214fe4619a7a8a15

Contents?: true

Size: 788 Bytes

Versions: 4

Compression:

Stored size: 788 Bytes

Contents

################
# # Place your application routes here.
# #
# # Add your routes and controllers by order of priority.

# # A dynamic Websocket Client route can be used to automatically send the
# # updated Websocket client whenever Plezi is updated.

# Plezi.route 'ws/client', :client

# # I18n re-write, i.e.: `/en/home` will be rewriten as `/home`, while setting params['locale'] to "en"

# Plezi.route "/:locale" , /^(#{I18n.available_locales.join "|"})$/ if defined? I18n

# # Response format re-write, i.e.: `/xml/home` will use .xml templates automatically
# # with :locale a request might look like `/en/json/...`

# Plezi.route "/:format" , /^(html|json|xml)$/

# An optional assets route:
# Plezi.route('/assets', :assets)

# # The root Controller
Plezi.route '/', ExampleCtrl

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
plezi-0.16.4 resources/routes.rb
plezi-0.16.3 resources/routes.rb
plezi-0.16.2 resources/routes.rb
plezi-0.16.1 resources/routes.rb