OSDN Git Service

fix: fetch fail
[pettanr/pettanr.git] / app / controllers / top_controller.rb
index 14f8f15..9747cb6 100644 (file)
@@ -3,7 +3,7 @@ class TopController < ApplicationController
     before_action :authenticate_user, :only => []
     before_action :authenticate_author, :only => []
   else
-    before_action :authenticate_reader, :only => []#[:index]
+    before_action :authenticate_reader, :only => [:index]
     before_action :authenticate_user, :only => []
     before_action :authenticate_author, :only => []
   end