Mercurial > hg > soundsoftware-site
view .svn/pristine/55/558bc31ad6ee278b15b03c7670faa2968dce9970.svn-base @ 1368:987e71e73116 bibliography_testing
Setup of testing framework for the bibliography plugin.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 20 Aug 2013 18:00:06 +0100 |
parents | cbb26bc654de |
children |
line wrap: on
line source
class AddRoadmapPermission < ActiveRecord::Migration # model removed class Permission < ActiveRecord::Base; end def self.up Permission.create :controller => "projects", :action => "roadmap", :description => "label_roadmap", :sort => 107, :is_public => true, :mail_option => 0, :mail_enabled => 0 end def self.down Permission.find(:first, :conditions => ["controller=? and action=?", 'projects', 'roadmap']).destroy end end