@@ -79,7 +79,7 class MyController < ApplicationController | |||
|
79 | 79 | # User's page layout configuration |
|
80 | 80 | def page_layout |
|
81 | 81 | @user = self.logged_in_user |
|
82 | @blocks = @user.pref[:my_page_layout] || DEFAULT_LAYOUT | |
|
82 | @blocks = @user.pref[:my_page_layout] || DEFAULT_LAYOUT.dup | |
|
83 | 83 | session[:page_layout] = @blocks |
|
84 | 84 | %w(top left right).each {|f| session[:page_layout][f] ||= [] } |
|
85 | 85 | @block_options = [] |
General Comments 0
You need to be logged in to leave comments.
Login now