view .svn/pristine/6d/6d6109d0a05e56194e4d35c31ae6b55d51c938dc.svn-base @ 952:12f729c9f47d bibplugin_bibtex

the "authors" div was not closing correctly - fixed now.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 06 Aug 2012 12:13:28 +0100
parents cbb26bc654de
children
line wrap: on
line source
class AddViewWikiEditsPermission < ActiveRecord::Migration
  def self.up
    Role.find(:all).each do |r|
      r.add_permission!(:view_wiki_edits) if r.has_permission?(:view_wiki_pages)
    end
  end

  def self.down
    Role.find(:all).each do |r|
      r.remove_permission!(:view_wiki_edits)
    end
  end
end