Mercurial > hg > soundsoftware-site
view test/exemplars/wiki_content_exemplar.rb @ 1184:1027f0f3a81a bug_563
Make "busy projects" and "recent projects" look uniform
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Tue, 22 Jan 2013 14:12:47 +0000 |
parents | 513646585e45 |
children |
line wrap: on
line source
class WikiContent < ActiveRecord::Base generator_for :text => 'Some content' generator_for :page, :method => :generate_page def self.generate_page WikiPage.generate! end end