Module: Foliate
- Defined in:
- lib/foliate/config.rb,
lib/foliate/railtie.rb,
lib/foliate/version.rb,
lib/foliate/controller.rb,
lib/foliate/pagination.rb,
lib/generators/foliate/install/install_generator.rb
Defined Under Namespace
Modules: Controller Classes: Config, Pagination
Constant Summary collapse
- VERSION =
"2.0.0"
Class Method Summary collapse
-
.config ⇒ Foliate::Config
Foliate global configuration object.
- .config=(c) ⇒ Foliate::Config
Class Method Details
.config ⇒ Foliate::Config
Foliate global configuration object.
24 25 26 |
# File 'lib/foliate/config.rb', line 24 def self.config @config ||= Foliate::Config.new end |
.config=(c) ⇒ Foliate::Config
30 31 32 |
# File 'lib/foliate/config.rb', line 30 def self.config=(c) @config = c end |