Commit 65684a164b7a9a8f2ae9486e8dc66aaa981278a0
1 parent
c511a9f9
Exists in
master
and in
29 other branches
Remove trailing spaces from context content plugin
Showing
5 changed files
with
10 additions
and
10 deletions
Show diff stats
plugins/context_content/controllers/profile/context_content_plugin_profile_controller.rb
... | ... | @@ -11,7 +11,7 @@ class ContextContentPluginProfileController < ProfileController |
11 | 11 | page.replace_html "context_content_#{block.id}", :file => "blocks/context_content", :locals => {:block => block, :contents => contents} |
12 | 12 | page.replace_html "context_content_more_#{block.id}", :partial => 'blocks/more', :locals => {:block => block, :contents => contents, :article_id => params[:article_id] } |
13 | 13 | end |
14 | - else | |
14 | + else | |
15 | 15 | render :text => "invalid page", :status => 500 |
16 | 16 | end |
17 | 17 | end | ... | ... |
plugins/context_content/public/style.css
plugins/context_content/test/functional/content_viewer_controller_test.rb
... | ... | @@ -2,13 +2,13 @@ require File.dirname(__FILE__) + '/../test_helper' |
2 | 2 | |
3 | 3 | class ContentViewerController |
4 | 4 | append_view_path File.join(File.dirname(__FILE__) + '/../../views') |
5 | - def rescue_action(e) | |
6 | - raise e | |
7 | - end | |
5 | + def rescue_action(e) | |
6 | + raise e | |
7 | + end | |
8 | 8 | end |
9 | 9 | |
10 | 10 | class ContentViewerControllerTest < ActionController::TestCase |
11 | - | |
11 | + | |
12 | 12 | def setup |
13 | 13 | @profile = fast_create(Community) |
14 | 14 | @page = fast_create(Folder, :profile_id => @profile.id) | ... | ... |
plugins/context_content/test/functional/profile_design_controller_test.rb
... | ... | @@ -2,9 +2,9 @@ require File.dirname(__FILE__) + '/../test_helper' |
2 | 2 | |
3 | 3 | class ProfileDesignController |
4 | 4 | append_view_path File.join(File.dirname(__FILE__) + '/../../views') |
5 | - def rescue_action(e) | |
6 | - raise e | |
7 | - end | |
5 | + def rescue_action(e) | |
6 | + raise e | |
7 | + end | |
8 | 8 | end |
9 | 9 | |
10 | 10 | class ProfileDesignControllerTest < ActionController::TestCase | ... | ... |