Fix rubocop warnings
This commit is contained in:
parent
0e6d4f18da
commit
c8f26592a7
7 changed files with 13 additions and 26 deletions
|
@ -448,6 +448,5 @@ class ApplicationController < ActionController::Base
|
|||
end
|
||||
|
||||
# override to stop oauth plugin sending errors
|
||||
def invalid_oauth_response
|
||||
end
|
||||
def invalid_oauth_response; end
|
||||
end
|
||||
|
|
|
@ -22,6 +22,5 @@ class ExportController < ApplicationController
|
|||
end
|
||||
end
|
||||
|
||||
def embed
|
||||
end
|
||||
def embed; end
|
||||
end
|
||||
|
|
|
@ -32,11 +32,9 @@ class RedactionsController < ApplicationController
|
|||
end
|
||||
end
|
||||
|
||||
def show
|
||||
end
|
||||
def show; end
|
||||
|
||||
def edit
|
||||
end
|
||||
def edit; end
|
||||
|
||||
def update
|
||||
# note - don't update the user ID
|
||||
|
|
|
@ -95,20 +95,15 @@ class SiteController < ApplicationController
|
|||
@locale = params[:copyright_locale] || I18n.locale
|
||||
end
|
||||
|
||||
def welcome
|
||||
end
|
||||
def welcome; end
|
||||
|
||||
def help
|
||||
end
|
||||
def help; end
|
||||
|
||||
def about
|
||||
end
|
||||
def about; end
|
||||
|
||||
def export
|
||||
end
|
||||
def export; end
|
||||
|
||||
def offline
|
||||
end
|
||||
def offline; end
|
||||
|
||||
def preview
|
||||
render :text => RichText.new(params[:format], params[:text]).to_html
|
||||
|
|
|
@ -5,6 +5,5 @@ class SubscribeOldChangesets < ActiveRecord::Migration
|
|||
end
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
def down; end
|
||||
end
|
||||
|
|
|
@ -5,6 +5,5 @@ class SubscribeAuthorsToDiaryEntries < ActiveRecord::Migration
|
|||
end
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
def down; end
|
||||
end
|
||||
|
|
|
@ -183,9 +183,7 @@ class ApplicationHelperTest < ActionView::TestCase
|
|||
assert_match %r{^<span title=".*">4 months</span>$}, date
|
||||
end
|
||||
|
||||
def test_body_class
|
||||
end
|
||||
def test_body_class; end
|
||||
|
||||
def test_current_page_class
|
||||
end
|
||||
def test_current_page_class; end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue