caboose-cms 0.4.69 → 0.4.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/app/controllers/caboose/application_controller.rb +5 -1
- data/lib/caboose/engine.rb +1 -0
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MWNmYmU1YjA5ZTM3NmQxM2NlYTdkNzY3ZGU3MWE5NzVlMzFmNGQ5NA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NWFkODM1YzM4ZGM3ZmVkZjdjNmYzZTAxMTFiM2NkOWM3NmM2N2NlNA==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
OWYzN2I1MTk3NmIwNzZkZjkzNDJhMWEwNDUyNGI5OWU5NDEzYmRhMjcyZGRh
|
|
10
|
+
YjMxYTBjZWRiNWY2ZDY1MGQ5Y2MwZDVlMTUzZjI4ZDFlMWExNzdiNGUwMzE5
|
|
11
|
+
OTI3ZGIxYzA3N2E3OGVlNTNiMWYwYjIyMWQ1MDk2NDU2NjA2NTQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
OWRhZDkyZDY4OTRhMzk0YzY2ZGUzNjcxMjU3NmEyMTczNTBjY2Y2ODQ1OGFm
|
|
14
|
+
YjJiMWU4ZGIwOWNlYTBjNTQzYzNlNzQ1YTIyNDViZGQ1NTUzZDE1ZTliNmFk
|
|
15
|
+
MGZlMmI1YjY4MjI1YTBiYTg1MzA1NzJjYzI0NWMwYTQ4YmZhMjQ=
|
|
@@ -12,6 +12,10 @@ module Caboose
|
|
|
12
12
|
# Modify the built-in params array with URL params if necessary
|
|
13
13
|
parse_url_params if Caboose.use_url_params
|
|
14
14
|
|
|
15
|
+
# Get the site we're working with
|
|
16
|
+
domain = Domain.where(request.host_with_port).first
|
|
17
|
+
@site = domain ? domain.site : nil
|
|
18
|
+
|
|
15
19
|
# Make sure someone is logged in
|
|
16
20
|
if !logged_in?
|
|
17
21
|
elo = User.find(User::LOGGED_OUT_USER_ID)
|
|
@@ -21,7 +25,7 @@ module Caboose
|
|
|
21
25
|
session['use_redirect_urls'] = true if session['use_redirect_urls'].nil?
|
|
22
26
|
|
|
23
27
|
# Initialize AB Testing
|
|
24
|
-
AbTesting.init(request.session_options[:id]) if Caboose.use_ab_testing
|
|
28
|
+
AbTesting.init(request.session_options[:id]) if Caboose.use_ab_testing
|
|
25
29
|
|
|
26
30
|
# Try to find the page
|
|
27
31
|
@page = Page.new
|
data/lib/caboose/engine.rb
CHANGED
|
@@ -172,6 +172,7 @@ module Caboose
|
|
|
172
172
|
'caboose/fonts/big_noodle_titling_oblique.ttf',
|
|
173
173
|
'caboose/fonts/big_noodle_titling.ttf',
|
|
174
174
|
'caboose/fonts.css',
|
|
175
|
+
'caboose/icomoon_fonts.css',
|
|
175
176
|
'caboose/login.css',
|
|
176
177
|
'caboose/modal.css',
|
|
177
178
|
'caboose/page_bar_generator.css',
|
data/lib/caboose/version.rb
CHANGED