Module: Skyline::Rendering::Helpers::SettingsHelper
- Defined in:
- lib/skyline/deprecated/version3_0_8.rb
Instance Method Summary collapse
-
#page_from_setting(setting_identifier, field) ⇒ Object
deprecated
Deprecated.
Will be removed 3.1 in favour of Settings::KlassMethods#get_page
-
#setting(setting_identifier, field) ⇒ Object
deprecated
Deprecated.
Will be removed 3.1 in favour of Settings::KlassMethods#get
Instance Method Details
#page_from_setting(setting_identifier, field) ⇒ Object
Deprecated.
Will be removed 3.1 in favour of Settings::KlassMethods#get_page
96 97 98 99 |
# File 'lib/skyline/deprecated/version3_0_8.rb', line 96 def page_from_setting(setting_identifier, field) warn "[DEPRECATION] Don't use #page_from_setting anymore, use Settings#get_page (will be removed in 3.1.0) [#{caller[1]}]" ::Settings.get_page(setting_identifier,field) end |
#setting(setting_identifier, field) ⇒ Object
Deprecated.
Will be removed 3.1 in favour of Settings::KlassMethods#get
90 91 92 93 |
# File 'lib/skyline/deprecated/version3_0_8.rb', line 90 def setting(setting_identifier, field) warn "[DEPRECATION] Don't use #setting anymore, use Settings#get (will be removed in 3.1.0) [#{caller[1]}]" ::Settings.get(setting_identifier,field) end |