Jifty::Plugin::Config(3pm)

Jifty::Plugin::Config3pm

Usage

# In your jifty config.yml under the framework section:

  Plugins:
    - Config:
        after_restart_url: '/'
        wait_seconds: 5
        config_url: '/__jifty/config'
        restart_url: '/__jifty/config/restart.html'
        nav_menu: 1

Description

This plugin lets you update etc/config.yml in web page.

Name

Jifty::Plugin::Config - Add configuration editor

Methods

init

set after_restart_url, wait_seconds and config_url, default is '/', 5 and '/__jifty/config', respectively after_restart_url is the url where we will redirect to after restart wait_seconds are the seconds that we wait for before redirecting config_url is the url where we will update the config restart_url is the url where we actually do the restart, with a wait page setting nav_menu to 0 will stop this plugin from adding anything to your application's navigation menu

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

From libjifty-perl 1.10518+dfsg-2 in Debian 7 (Wheezy). Parsed by carta from the page's man source.