tog / tog_vault

Tog Platform Lightweight CMS Component

This URL has Read+Write access

tog_vault / init.rb
100644 16 lines (10 sloc) 0.364 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require_plugin 'tog_core'
require_plugin 'acts_as_tree'
require_plugin 'fckeditor'
 
 
Tog::Plugins.settings :tog_vault, :public_prefix => "cms"
 
Dir[File.dirname(__FILE__) + '/locale/**/*.yml'].each do |file|
  I18n.load_path << file
end
 
Tog::Plugins.helpers Vault::PageHelper
 
Tog::Interface.sections(:admin).add "CMS", "/admin/cms"
 
Tog::Search.sources << "Page"