Browse files

fixed author display

  • Loading branch information...
1 parent 5f822b9 commit 3e4f91d4e5658b7a713edfed830b1d266a9d1f5e @jywarren committed Mar 19, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 webserver/app/controllers/spectrums_controller.rb
View
1 webserver/app/controllers/spectrums_controller.rb
@@ -47,6 +47,7 @@ def embed
# non REST
def author
@spectrums = Spectrum.find_all_by_author(params[:id])
+ @spectrums = @spectrums.paginate :page => params[:page], :per_page => 24
render "spectrums/search"
end

0 comments on commit 3e4f91d

Please sign in to comment.