issues & fixed layout

This commit is contained in:
Dmitriy Zaporozhets 2011-11-05 15:31:54 +02:00
parent 31a9d6531d
commit 0499759204
6 changed files with 38 additions and 58 deletions

View file

@ -82,6 +82,12 @@ class ApplicationController < ActionController::Base
elsif params[:view_style] == "fluid"
cookies[:view_style] = ""
end
@view_mode = if cookies[:view_style] == "collapsed"
:fixed
else
:fluid
end
end
def respond_with_notes