Rubocop: Auto-correct Style/EmptyLineBetweenDefs offences

This commit is contained in:
Rob Harrington
2017-05-19 12:13:03 +10:00
parent b277ff03ea
commit 7bb58342fc
36 changed files with 8 additions and 71 deletions

View File

@@ -24,7 +24,6 @@ class ApplicationController < ActionController::Base
params[:action].to_sym
end
def require_distributor_chosen
unless @distributor = current_distributor
redirect_to spree.root_path
@@ -62,7 +61,6 @@ class ApplicationController < ActionController::Base
end
end
# All render calls within the block will be performed with the specified format
# Useful for rendering html within a JSON response, particularly if the specified
# template or partial then goes on to render further partials without specifying