From bd271ddc7805f8c21a418f2305c8369218c7040d Mon Sep 17 00:00:00 2001 From: Kohei Sugi Date: Mon, 19 Feb 2018 11:21:43 +0900 Subject: [PATCH] Add require_dependency --- app/controllers/letter_opener_web/letters_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/letter_opener_web/letters_controller.rb b/app/controllers/letter_opener_web/letters_controller.rb index a1abe2b..14d8370 100644 --- a/app/controllers/letter_opener_web/letters_controller.rb +++ b/app/controllers/letter_opener_web/letters_controller.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require_dependency "letter_opener_web/application_controller" + module LetterOpenerWeb class LettersController < ApplicationController before_action :check_style, only: [:show]