Mercurial > hg > soundsoftware-site
annotate .svn/pristine/17/17c033d2aba8bd48a0c5240eb040a0c6c95834ea.svn-base @ 1481:93934eec7b56 issue_540
Close obsolete branch issue_540
author | Chris Cannam |
---|---|
date | Sat, 24 Nov 2012 17:53:51 +0000 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 class IssueMove < ActiveRecord::Migration |
Chris@909 | 2 # model removed |
Chris@909 | 3 class Permission < ActiveRecord::Base; end |
Chris@909 | 4 |
Chris@909 | 5 def self.up |
Chris@909 | 6 Permission.create :controller => "projects", :action => "move_issues", :description => "button_move", :sort => 1061, :mail_option => 0, :mail_enabled => 0 |
Chris@909 | 7 end |
Chris@909 | 8 |
Chris@909 | 9 def self.down |
Chris@909 | 10 Permission.find(:first, :conditions => ["controller=? and action=?", 'projects', 'move_issues']).destroy |
Chris@909 | 11 end |
Chris@909 | 12 end |