aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/general_controller.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2011-02-25 17:27:14 +0000
committerSeb Bacon <seb.bacon@gmail.com>2011-03-10 10:56:15 +0000
commitbad54dec3d0f153e22bf94bded4be6cf98be3a9c (patch)
tree61ea3280f278cff65d0f39afa3ccca04a7f7d163 /app/controllers/general_controller.rb
parent75c6cde4d869c190fc10ce36ec96f818efb1970f (diff)
add a "custom_css" template, so we can easily overlay it from plugins
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r--app/controllers/general_controller.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb
index df46c4ae8..cf28208a0 100644
--- a/app/controllers/general_controller.rb
+++ b/app/controllers/general_controller.rb
@@ -153,5 +153,11 @@ class GeneralController < ApplicationController
render :text => "awake\n"
end
+ def custom_css
+ @locale = self.locale_from_params()
+ render(:layout => false, :content_type => 'text/css')
+ end
+
+
end