예제 #1
0
from ferris.core import routing, plugins
from ferris.controllers.download import Download

# Routes all App handlers
routing.auto_route()
routing.route_controller(Download)
# Default root route
routing.redirect('/', to='/main')


# Plugins
#plugins.enable('settings')
#plugins.enable('oauth_manager')
plugins.enable('angular')
예제 #2
0
from ferris.core import routing, plugins

# Routes all App handlers
routing.auto_route()

# Default root route
# routing.default_root()

routing.redirect('/', to='/index')


# Plugins
plugins.enable('settings')
plugins.enable('oauth_manager')
예제 #3
0
from ferris.core import routing, plugins

# Routes all App handlers
routing.auto_route()

# Default root route
# routing.default_root()

routing.redirect('/', to='/home')

# Plugins
#plugins.enable('settings')
#plugins.enable('oauth_manager')
예제 #4
0
from ferris.core import routing, plugins

# Routes all App handlers
routing.auto_route()

# Default root route
# routing.default_root()
routing.redirect('/', to='/trainers')


# Plugins
plugins.enable('settings')
plugins.enable('oauth_manager')
예제 #5
0
from ferris.core import routing, plugins

# Routes all App handlers
routing.auto_route()

# Default root route
#routing.default_root()
routing.redirect('/', to='/posts')



# Plugins
#plugins.enable('settings')
#plugins.enable('oauth_manager')
예제 #6
0
from ferris.core import routing, plugins

# Routes all App handlers
routing.auto_route()

# Default root route
routing.default_root()
routing.redirect('/mayorista', to='/mayorista/index')
#routing.redirect('/', to='/mayorista/index')

# Plugins
#plugins.enable('settings')
#plugins.enable('oauth_manager')
plugins.enable('custom_auth')
plugins.enable('recaptcha')
예제 #7
0
from ferris.core import routing, plugins

# Routes all App handlers
routing.auto_route()

# Default root route
routing.redirect('/', to='/home/index')

# Plugins
plugins.enable('settings')
plugins.enable('oauth_manager')
plugins.enable('template_tester')
예제 #8
0
from ferris.core import routing, plugins

# Routes all App handlers
routing.auto_route()

# Default root route
# modificado por roger cillo
# el 2016.7.13a
# routing.default_root()


routing.redirect('/', to='/user/reclamos')

# Plugins
#plugins.enable('settings')
#plugins.enable('oauth_manager')
예제 #9
0
from ferris.core import routing, plugins
from ferris.controllers.download import Download

routing.route_controller(Download)

# Routes all App handlers
routing.auto_route()

# Default root route
# routing.default_root()

# Default root route
routing.redirect('/', to='/documents')


# Plugins
plugins.enable('settings')
plugins.enable('oauth_manager')
예제 #10
0
from ferris.core import routing
from ferris.core import plugins

# Routes all App handlers
routing.auto_route()

# Default root route
# routing.default_root()
routing.redirect('/', to='/questions')
# routing.redirect('/', to='/index')

# Plugins
plugins.enable('settings')
plugins.enable('oauth_manager')
plugins.enable('custom_auth')
plugins.enable('recaptcha')
예제 #11
0
from ferris.core import routing, plugins

# Routes all App handlers
routing.auto_route()

# Default root route
#routing.default_root()
routing.redirect('/', to='/posts')

# Plugins
#plugins.enable('settings')
#plugins.enable('oauth_manager')