OSDN Git Service

t#30137:fix authenticate
[pettanr/pettanr.git] / app / controllers / authors_controller.rb
index 6f787a3..d5d0b5c 100644 (file)
@@ -20,7 +20,7 @@ class AuthorsController < ApplicationController
   end
 
   def show
-    @au = Author.show(params[:id], @author)
+    @au = Author.show(params[:id], [@author, @admin])
 
     respond_to do |format|
       format.html