Mercurial > hg > soundsoftware-site
view plugins/engines/generators/plugin_migration/templates/plugin_migration.html.erb @ 1270:b2f7f52a164d redmine-2.2-integration
Fix project members page: update editlist partial following changes to project member settings partial; update mailer class and templates; make editlist forms not be remote (we just reload page)
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 02 May 2013 16:24:09 +0100 |
parents | b4b72f1eb644 |
children |
line wrap: on
line source
class <%= class_name %> < ActiveRecord::Migration def self.up <%- plugins.each do |plugin| -%> Engines.plugins["<%= plugin.name %>"].migrate(<%= new_versions[plugin.name] %>) <%- end -%> end def self.down <%- plugins.each do |plugin| -%> Engines.plugins["<%= plugin.name %>"].migrate(<%= current_versions[plugin.name] %>) <%- end -%> end end