OSDN Git Service

add: resource_picture_pictures
[pettanr/pettanr.git] / app / controllers / top_controller.rb
index 37b4ada..91fb1d8 100644 (file)
@@ -3,14 +3,14 @@ class TopController < ApplicationController
     before_filter :authenticate_user, :only => []
     before_filter :authenticate_author, :only => []
   else
-    before_filter :authenticate_reader, :only => [:index, :ap]
+    before_filter :authenticate_reader, :only => []#[:index]
     before_filter :authenticate_user, :only => []
     before_filter :authenticate_author, :only => []
   end
   
   def index
     respond_to do |format|
-      format.html { render layout: 'ap' }
+      format.html { render layout: 'yasapp' }
     end
   end