Project

jazzy_to

0.0
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
This is a simple way to create editiable copy on a rails app.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

Gem Version

jazzy-to

Jazzy ##Jazzing content into your rails app. Jazzy To is a content manager to add & edit live copy(content) on your rails app. You can use the built in helpers to get the content and edit it in place. This allows you to not need to re deploy each time wording needs to be changed.

Add to your gem file gem 'jazzy_to'

install rails g jazzy_to:install

configure in config/initializers/jazzy_to.rb

JazzyTo.configure do |config|
  config.autotag[:namespace, :controller, :action, :name]
  # I reccomend using at least name
  config.editor_check = "User.find(session[:user_id]).admin?"
  # You can also do config.editor_check = "true" if you dont care about who can edit it
end

migrate rake db:migrate

use <%= jazzy_to(:optional_name) %>