OSDN Git Service

t#30137:fix authenticate
[pettanr/pettanr.git] / app / controllers / comics_controller.rb
index 75eade6..ec79f36 100644 (file)
@@ -25,7 +25,7 @@ class ComicsController < ApplicationController
   end
 
   def show
-    @comic = Comic.show(params[:id], @author)
+    @comic = Comic.show(params[:id], [@author, @admin])
 
     respond_to do |format|
       format.html # show.html.erb