Sha256: deb5cd9ad57eedf61b3210405bcc9580ee64a7bb4320e6b779c2a309719903e6

Contents?: true

Size: 706 Bytes

Versions: 46

Compression:

Stored size: 706 Bytes

Contents

#!/usr/bin/env ruby
# encoding: UTF-8

#########
##
## This file holds the routes for your application
##
## use the `host`, `route` and `shared_route` functions
##


# This is an optional re-write route for I18n.
# i.e.: `/en/home` will be rewriten as `/home`, while setting params[:locale] to "en"
route "/:locale{#{I18n.available_locales.join "|"}}/*" , false if defined? I18n

###
# add your routes here:


# remove this demo route and the SampleController once you want to feed Plezi your code.
route '/', SampleController


# this is a catch all route with a stub controller.
# un comment the following line and replace the controller if you want a catch-all route.
# route '*',  Plezi::StubRESTCtrl

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
plezi-0.10.12 resources/routes.rb
plezi-0.10.11 resources/routes.rb
plezi-0.10.10 resources/routes.rb
plezi-0.10.9 resources/routes.rb
plezi-0.10.8 resources/routes.rb
plezi-0.10.6 resources/routes.rb
plezi-0.10.5 resources/routes.rb
plezi-0.10.4 resources/routes.rb
plezi-0.10.3 resources/routes.rb
plezi-0.10.2 resources/routes.rb
plezi-0.10.1 resources/routes.rb
plezi-0.9.2 resources/routes.rb
plezi-0.9.1 resources/routes.rb
plezi-0.9.0 resources/routes.rb
plezi-0.8.7 resources/routes.rb
plezi-0.8.6 resources/routes.rb
plezi-0.8.5 resources/routes.rb
plezi-0.8.4 resources/routes.rb
plezi-0.8.3 resources/routes.rb
plezi-0.8.2 resources/routes.rb