git-svn-id: http://svn.redmine.org/redmine/trunk@19044 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/4.1.0
@@ -59,7 +59,6 @@ Layout/EmptyLines: | |||
# SupportedStyles: around, only_before | |||
Layout/EmptyLinesAroundAccessModifier: | |||
Exclude: | |||
- 'app/controllers/previews_controller.rb' | |||
- 'config/initializers/10-patches.rb' | |||
- 'lib/redmine/syntax_highlighting.rb' | |||
@@ -42,6 +42,7 @@ class PreviewsController < ApplicationController | |||
@text = params[:text] ? params[:text] : nil | |||
render :partial => 'common/preview' | |||
end | |||
private | |||
def find_project |