about summary refs log tree commit diff
path: root/app/models/form
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-10-08 15:00:27 +0200
committerThibG <thib@sitedethib.com>2018-10-12 19:06:35 +0200
commit3d5d899094ecf389ce6cf31a6f33dcf1894e662d (patch)
tree14b450da3a3c60646fa771496fea6e94f8b68181 /app/models/form
parentfac529975b2b97e4c57393560d3359a98f7b1953 (diff)
Allow selecting both default flavour and theme
Fixes #672
Diffstat (limited to 'app/models/form')
-rw-r--r--app/models/form/admin_settings.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/form/admin_settings.rb b/app/models/form/admin_settings.rb
index 9ea4ed322..8a39e09b7 100644
--- a/app/models/form/admin_settings.rb
+++ b/app/models/form/admin_settings.rb
@@ -48,4 +48,8 @@ class Form::AdminSettings
     :custom_css=,
     to: Setting
   )
+
+  def flavour_and_skin
+    "#{Setting.flavour}/#{Setting.skin}"
+  end
 end