Module: Refinery::Portfolio

Defined in:
lib/portfolio/version.rb,
lib/refinerycms-portfolio.rb

Defined Under Namespace

Classes: Engine

Class Method Summary collapse

Class Method Details

.multi_level?Boolean

Returns:

  • (Boolean)


7
8
9
10
11
12
# File 'lib/refinerycms-portfolio.rb', line 7

def multi_level?
  RefinerySetting.table_exists? and RefinerySetting.find_or_set(:multi_level_portfolio, false, {
    :callback_proc_as_string => %q{::ActionController::Routing::Routes.reload!},
    :restricted => true
  })
end

.versionObject



3
4
5
# File 'lib/portfolio/version.rb', line 3

def self.version
  %q{0.9.9}
end