Add and apply MultilineMethodCallIndentation rule
This commit is contained in:
@@ -23,7 +23,7 @@ module AdminBudgetInvestmentsHelper
|
||||
|
||||
def valuator_select_options(budget)
|
||||
budget.valuators.order("description ASC").order("users.email ASC").includes(:user)
|
||||
.map { |v| [v.description_or_email, "valuator_#{v.id}"] }
|
||||
.map { |v| [v.description_or_email, "valuator_#{v.id}"] }
|
||||
end
|
||||
|
||||
def valuator_group_select_options
|
||||
|
||||
@@ -48,7 +48,7 @@ module ApplicationHelper
|
||||
|
||||
def self.asset_data_base64(path)
|
||||
asset = (Rails.application.assets || ::Sprockets::Railtie.build_environment(Rails.application))
|
||||
.find_asset(path)
|
||||
.find_asset(path)
|
||||
throw "Could not find asset '#{path}'" if asset.nil?
|
||||
base64 = Base64.encode64(asset.to_s).gsub(/\s+/, "")
|
||||
"data:#{asset.content_type};base64,#{Rack::Utils.escape(base64)}"
|
||||
|
||||
Reference in New Issue
Block a user