annotate .svn/pristine/72/7274c695571e958f3ca2e7a9525c8d48e60fc42c.svn-base @ 1517:dffacf8a6908 redmine-2.5

Update to Redmine SVN revision 13367 on 2.5-stable branch
author Chris Cannam
date Tue, 09 Sep 2014 09:29:00 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 class AddRepositoriesChangesPermission < 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 => 'repositories', :action => 'changes', :description => 'label_change_plural', :sort => 1475, :is_public => true, :mail_option => 0, :mail_enabled => 0
Chris@909 7 end
Chris@909 8
Chris@909 9 def self.down
Chris@909 10 Permission.find_by_controller_and_action('repositories', 'changes').destroy
Chris@909 11 end
Chris@909 12 end