widget and gridster fixes

This commit is contained in:
harrybomrah authored and Matt K. Fu committed 2013-04-17 14:16:24 +08:00
1 parent 0781779ac0
commit bc0477a5ed
5 files changed
+87 -60

No files matched your search

@@ -6,13 +6,13 @@ class Panel::PersonalJournal::Desktop::JournalPagesController < ApplicationContr
page = params[:page]
page ||= 1
@per_column = 5
case @view_by
when "abstract"
@per_column = 1
when "file"
@per_column = 2
else
@per_column = 4
end
if @view_by.nil?