Apply IndentationWidth rubocop rule

This commit is contained in:
Javi Martín
2019-06-18 02:29:00 +02:00
parent b5b07bccd3
commit e252d82cdb
21 changed files with 119 additions and 119 deletions

View File

@@ -34,9 +34,9 @@ class Admin::Poll::Questions::Answers::VideosController < Admin::Poll::BaseContr
def destroy
notice = if @video.destroy
t("flash.actions.destroy.poll_question_answer_video")
t("flash.actions.destroy.poll_question_answer_video")
else
t("flash.actions.destroy.error")
t("flash.actions.destroy.error")
end
redirect_back(fallback_location: (request.referrer || root_path), notice: notice)
end