Module: Merrymenu
- Defined in:
- lib/merrymenu/config.rb,
lib/merrymenu/builder.rb,
lib/merrymenu/railtie.rb,
lib/merrymenu/version.rb,
lib/merrymenu/view_helper.rb,
lib/generators/merrymenu/install_generator.rb
Defined Under Namespace
Modules: Generators, Helper Classes: Configuration, Configure, Menu, Railtie, Tab, Tabs
Constant Summary collapse
Class Method Summary collapse
- .config ⇒ Object
-
.configure {|@config ||= Merrymenu::Configuration.new| ... } ⇒ Object
Configures global settings for Kaminari Merrymenu.configure do |config| config.use_I18n_translation = false end.
Class Method Details
.config ⇒ Object
12 13 14 |
# File 'lib/merrymenu/config.rb', line 12 def self.config @config end |
.configure {|@config ||= Merrymenu::Configuration.new| ... } ⇒ Object
Configures global settings for Kaminari
Merrymenu.configure do |config|
config.use_I18n_translation = false
end
8 9 10 |
# File 'lib/merrymenu/config.rb', line 8 def self.configure(&block) yield @config ||= Merrymenu::Configuration.new end |