Sha256: 7b8d277b351e4d4b66f9bcba7932ad0c3819a53acad95976820ea8a580007670
Contents?: true
Size: 725 Bytes
Versions: 6
Compression:
Stored size: 725 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)$/ # # The root Controller Plezi.route '/', ExampleCtrl
Version data entries
6 entries across 6 versions & 1 rubygems