view test/exemplars/wiki_exemplar.rb @ 1471:d65e60e20a50 bug_531

Close obsolete branch bug_531
author Chris Cannam
date Fri, 23 Nov 2012 18:10:33 +0000
parents 513646585e45
children
line wrap: on
line source
class Wiki < ActiveRecord::Base
  generator_for :start_page => 'Start'
  generator_for :project, :method => :generate_project

  def self.generate_project
    Project.generate!
  end
end