Mercurial > hg > soundsoftware-site
view .svn/pristine/4f/4f9b6989936a59570ee254faff0b99a606637086.svn-base @ 1237:1d5451bf82d7 redmine-2.2-integration
Added missing route to auto_completes#project_tags (AutoCompletes controller patched in redmine tags plugin)
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 26 Mar 2013 15:11:27 +0000 |
parents | cbb26bc654de |
children |
line wrap: on
line source
class InsertBuiltinRoles < ActiveRecord::Migration def self.up nonmember = Role.new(:name => 'Non member', :position => 0) nonmember.builtin = Role::BUILTIN_NON_MEMBER nonmember.save anonymous = Role.new(:name => 'Anonymous', :position => 0) anonymous.builtin = Role::BUILTIN_ANONYMOUS anonymous.save end def self.down Role.destroy_all 'builtin <> 0' end end