This repository has been archived by the owner on Aug 15, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
content sections show up in the dropdown again, need to make sure the…
… installer still runs
- Loading branch information
Josh Adams
committed
Mar 11, 2009
1 parent
bb07ee6
commit 8ac1f91
Showing
2 changed files
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# FIXME: this unless statement needs to be removed, but without it you cant do rake gems:install, rake db:create:all or run the installer | ||
unless !ActiveRecord::Base.configurations.blank? | ||
unless ActiveRecord::Base.configurations.blank? | ||
Ansuz::PluginManagerInstance.register_plugin(Ansuz::JAdams::ContentSection) | ||
end | ||
Ansuz::PluginManagerInstance.add_gem_dependency("RedCloth", :lib => "redcloth") | ||
Ansuz::PluginManagerInstance.add_gem_dependency("BlueCloth", :lib => "bluecloth") | ||
Ansuz::PluginManagerInstance.register_page_type("Content Page", ["Ansuz::JAdams::ContentSection"]) | ||
Ansuz::PluginManagerInstance.register_page_type("Content Page", ["Ansuz::JAdams::ContentSection"]) |