##// END OF EJS Templates
Redirect to issue page after creating a new issue...
Redirect to issue page after creating a new issue Previous behavior was to redirect to the issue list with a "successful creation" message. This patch will redirect to the page for the newly-created issue, still with the "successful creation" message. This matches the behavior after editing an issue and also provides instant feedback for the user to see if anything went wrong. Closes #261 and uses the patch contained therein git-svn-id: http://redmine.rubyforge.org/svn/trunk@1243 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r741:e4f0864e3a7f
r1229:c67c375357ff
Show More
migrate_plugins.rake
15 lines | 439 B | text/x-ruby | RubyLexer
/ lib / tasks / migrate_plugins.rake
Jean-Philippe Lang
Basic plugin support....
r741 namespace :db do
desc 'Migrates installed plugins.'
task :migrate_plugins => :environment do
if Rails.respond_to?('plugins')
Rails.plugins.each do |plugin|
next unless plugin.respond_to?('migrate')
puts "Migrating #{plugin.name}..."
plugin.migrate
end
else
puts "Undefined method plugins for Rails!"
puts "Make sure engines plugin is installed."
end
end
end