Module: FatFreeCRM
- Defined in:
- lib/fat_free_crm/i18n.rb,
lib/fat_free_crm.rb,
lib/fat_free_crm/tabs.rb,
lib/fat_free_crm/engine.rb,
lib/fat_free_crm/errors.rb,
lib/fat_free_crm/fields.rb,
lib/fat_free_crm/plugin.rb,
lib/fat_free_crm/dropbox.rb,
lib/fat_free_crm/version.rb,
lib/fat_free_crm/callback.rb,
lib/fat_free_crm/sortable.rb,
lib/fat_free_crm/exceptions.rb,
lib/fat_free_crm/exportable.rb,
lib/fat_free_crm/permissions.rb
Overview
Fat Free CRM Copyright © 2008-2011 by Michael Dvorkin
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <www.gnu.org/licenses/>.
Defined Under Namespace
Modules: ActiveModel, Callback, Exportable, Fields, I18n, Permissions, Sortable, VERSION Classes: Dropbox, Engine, MissingSettings, ObsoleteSettings, Plugin, Tabs
Class Method Summary collapse
-
.root ⇒ Object
Return the root path of either the Application or the Engine, depending on how Fat Free CRM is loaded.
Class Method Details
.root ⇒ Object
Return the root path of either the Application or the Engine, depending on how Fat Free CRM is loaded
49 50 51 |
# File 'lib/fat_free_crm.rb', line 49 def self.root (defined?(FatFreeCRM::Engine) ? Engine : Application).root end |