Module: Roda::RodaPlugins::HashBranchViewNamespace

Defined in:
lib/roda/plugins/hash_branch_view_namespace.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.configure(app) ⇒ Object



11
12
13
# File 'lib/roda/plugins/hash_branch_view_namespace.rb', line 11

def self.configure(app)
  app.opts[:hash_branch_view_subdir_methods] ||= {}
end

.load_dependencies(app) ⇒ Object



6
7
8
9
# File 'lib/roda/plugins/hash_branch_view_namespace.rb', line 6

def self.load_dependencies(app)
  app.plugin :hash_branches
  app.plugin :view_options
end