peter / page_texts
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
MIT-LICENSE | ||
| |
README | ||
| |
Rakefile | ||
| |
init.rb | ||
| |
lib/ | ||
| |
tasks/ | ||
| |
test/ | ||
| |
views/ |
README
PageTexts ========= Plugin that provides an admin web UI for editing certain texts on pages, translating them to different locales, and keeping the texts version controlled. Dependencies ======= The plugin was tested on Rails 2.2. It depends on the following plugins: acts_as_versioned - http://github.com/technoweenie/acts_as_versioned/tree/master globalize2 - http://github.com/joshmh/globalize2/tree/master Usage ======= Generate a migration that sets up the tables: class AddPageTexts < ActiveRecord::Migration def self.up PageTexts.create_tables PageTextTranslation.create_versioned_table end def self.down end end If you want to use the web UI, add this to routes.rb: map.resources :page_texts Copyright (c) 2008 Peter Marklund, released under the MIT license

