modified to use the sandstorm.decorators.view_config()