Mercurial > hg > soundsoftware-site
view test/exemplars/wiki_page_exemplar.rb @ 1471:d65e60e20a50 bug_531
Close obsolete branch bug_531
author | Chris Cannam |
---|---|
date | Fri, 23 Nov 2012 18:10:33 +0000 |
parents | cbb26bc654de |
children |
line wrap: on
line source
class WikiPage < ActiveRecord::Base generator_for :title, :start => 'AWikiPage' generator_for :wiki, :method => :generate_wiki def self.generate_wiki Wiki.generate! end end