nirnanaaa/gollum_rails

View on GitHub
lib/generators/gollum_rails/install/templates/gollum_initializer.rb

Summary

Maintainability
A
0 mins
Test Coverage
# Initializer for the GollumRails gem.
GollumRails::Setup.build do |config|

  # Set the path to the GIT-Repository.
  # 
  # Possible values are:
  #
  # => an absolute path: '/home/railsapp/db/wiki.git'
  # => a relative path: Path.join(RAILS_ROOT, 'db', 'wiki.git')
  # => a symbol (only application) it uses the currently active rails environment configuration for the path
  #
  config.repository = :application

  # Tells GollumRails to startup.
  # 
  # By default this value is disabled, because no path is set
  # 
  # Possible values are:
  #
  # true or false
  config.startup = false
end