Merge branch 'dev' into issue-184
Conflicts: app/views/layouts/project.html.haml
This commit is contained in:
commit
444b69ddc2
17 changed files with 106 additions and 66 deletions
|
@ -4,6 +4,10 @@ module ApplicationHelper
|
|||
"http://www.gravatar.com/avatar/#{Digest::MD5.hexdigest(user_email)}?s=40&d=identicon"
|
||||
end
|
||||
|
||||
def fixed_mode?
|
||||
@view_mode == :fixed
|
||||
end
|
||||
|
||||
def body_class(default_class = nil)
|
||||
main = content_for(:body_class).blank? ?
|
||||
default_class :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue