Sha256: 63f50e6bb067231f25b001d4ad5de336a8f93866f68b6258fe5028aaa9add1dc
Contents?: true
Size: 728 Bytes
Versions: 4
Compression:
Stored size: 728 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 '/', RootController
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
plezi-0.14.6 | resources/routes.rb |
plezi-0.14.5 | resources/routes.rb |
plezi-0.14.4 | resources/routes.rb |
plezi-0.14.3 | resources/routes.rb |