summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-03-28 21:45:30 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-03-28 21:45:30 +0000
commit13d6b3129b941bfb269e9927aacf8a919afc4fe9 (patch)
tree2c4a941bf48253bc61e26483aedcc47bb30c7721 /app/controllers
parentaf968bfb226414aa6ae3b43cc94e6eb9d09d9d89 (diff)
downloadredmine-13d6b3129b941bfb269e9927aacf8a919afc4fe9.tar.gz
redmine-13d6b3129b941bfb269e9927aacf8a919afc4fe9.zip
Adds support for preview when editing an issue note (#5520).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5246 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/previews_controller.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/controllers/previews_controller.rb b/app/controllers/previews_controller.rb
index 612025cb8..f1dbedf7b 100644
--- a/app/controllers/previews_controller.rb
+++ b/app/controllers/previews_controller.rb
@@ -1,3 +1,20 @@
+# Redmine - project management software
+# Copyright (C) 2006-2011 Jean-Philippe Lang
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
class PreviewsController < ApplicationController
before_filter :find_project