annotate .svn/pristine/94/949c58e9921f8706f6e0819c20be1983b0201da0.svn-base @ 915:2a68662d5adf cannam_integration

*needs further testing* Moved several files' extension to ".erb"; modified two files because they were calling partials/templates with rhtml extensions; renamed email templates sent when a user is added to a publication.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 02 Mar 2012 12:37:17 +0000
parents cbb26bc654de
children
rev   line source
Chris@909 1 class CustomValue < ActiveRecord::Base
Chris@909 2 generator_for :custom_field, :method => :generate_custom_field
Chris@909 3
Chris@909 4 def self.generate_custom_field
Chris@909 5 CustomField.generate!
Chris@909 6 end
Chris@909 7 end