diff options
author | jessib <jessib@leap.se> | 2012-11-16 15:31:48 -0800 |
---|---|---|
committer | jessib <jessib@leap.se> | 2012-11-16 15:31:48 -0800 |
commit | 18a67ffdc21e44e21363f863b1a31d74b98ee3eb (patch) | |
tree | b4f9e96e18ee9e8adaf1d5cecbc61c659f8ee9e5 /core | |
parent | f1e3b135eec6e0a6a02b920cdadd7adc5889f9e2 (diff) |
playing around with pjax-rails but not using it yet
Diffstat (limited to 'core')
-rw-r--r-- | core/lib/leap_web_core/dependencies.rb | 1 | ||||
-rw-r--r-- | core/lib/leap_web_core/ui_dependencies.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/core/lib/leap_web_core/dependencies.rb b/core/lib/leap_web_core/dependencies.rb index 7f6ca87..00ef515 100644 --- a/core/lib/leap_web_core/dependencies.rb +++ b/core/lib/leap_web_core/dependencies.rb @@ -11,6 +11,7 @@ module LeapWebCore "haml" => "~> 3.1.7", "bootstrap-sass" => "~> 2.0.4", "jquery-rails" => nil, + "pjax_rails" => nil, "simple_form" => nil } diff --git a/core/lib/leap_web_core/ui_dependencies.rb b/core/lib/leap_web_core/ui_dependencies.rb index e0a0b86..8ca9b91 100644 --- a/core/lib/leap_web_core/ui_dependencies.rb +++ b/core/lib/leap_web_core/ui_dependencies.rb @@ -2,6 +2,7 @@ require "haml" require "bootstrap-sass" require "jquery-rails" require "simple_form" +require "pjax_rails" if Rails.env == "development" require "haml-rails" |