diff options
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/application.js | 5 | ||||
-rw-r--r-- | app/assets/stylesheets/application.scss | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index f7ca1ec..23d7fef 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -16,5 +16,10 @@ //= require users //= require_tree . //= require bootstrap +//= require jquery.pjax + +$(function() { + $('a:not([data-remote]):not([data-behavior]):not([data-skip-pjax])').pjax('[data-pjax-container]'); +}); //= require rails.validations //= require rails.validations.simple_form diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 72c943a..3465431 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -1,2 +1,5 @@ @import "bootstrap"; +body { + padding: 40px; +} @import "bootstrap-responsive"; |