Typo in migration 97 name (#1929).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1896 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2008-09-21 20:38:36 +00:00
parent 8cb75be0db
commit edf6757a75
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
class AddWiewWikiEditsPermission < ActiveRecord::Migration class AddViewWikiEditsPermission < ActiveRecord::Migration
def self.up def self.up
Role.find(:all).each do |r| Role.find(:all).each do |r|
r.add_permission!(:view_wiki_edits) if r.has_permission?(:view_wiki_pages) r.add_permission!(:view_wiki_edits) if r.has_permission?(:view_wiki_pages)