Mercurial > hg > soundsoftware-site
view test/exemplars/.svn/text-base/wiki_content_exemplar.rb.svn-base @ 428:9cfd7a1d848e feature_36
Created the Edit View (still not changing the DB)
Small changes to Publications model.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 01 Jun 2011 17:27:52 +0100 |
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