Skip to content
This repository has been archived by the owner on Oct 6, 2018. It is now read-only.

Adds Setting model and interface to manage settings #142

Closed
wants to merge 1 commit into from
Closed

Adds Setting model and interface to manage settings #142

wants to merge 1 commit into from

Commits on Jan 3, 2012

  1. Adds Setting model and interface to manage settings

    The Setting model provides a dictionary for values. It can be used to
    store content of the site that change from time to time (like Venue,
    Sign up link, etc).
    
    The Venue name, map link, address and sign up link have been updated to
    use the Setting model. This commit includes a migration with the values
    for the January meeting.
    
    The Setting model can be used the following way
    
    * Setting['some_key'] = 'some value' # Sets the value of some_key,
      creating the setting if necessary
    * Setting['some_key'] # => 'some value'
    
    Proper testing of Setting and the admin interface have been added
    
    Settings admin interface available at /admin/settings
    
    Adds AdminController which serves as base class of
    Admin::PresentationController and Admin::SettingController.
    AdminController contains the logic needed to force http basic
    authentication.
    Dan Seaver committed Jan 3, 2012
    Configuration menu
    Copy the full SHA
    dcdff00 View commit details
    Browse the repository at this point in the history