Implements smoothscroll

This commit is contained in:
Gopesh Tulsyan 2014-06-26 15:13:23 +05:30
parent f7a12c977b
commit 9c69abe950
10 changed files with 42 additions and 8 deletions

View file

@ -15,7 +15,7 @@
});
});
= yield(:head)
%body
%body{ data: (content_for?(:splash_nav) ? {spy: 'scroll', offset: 0, target: 'splash-nav'} : {} ) }
= render 'layouts/navigation'
-# Admin area
- if controller.class.name.split("::").first=="Admin"