Class: Refinery::Themes::ThemeController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Refinery::Themes::ThemeController
- Defined in:
- app/controllers/refinery/themes/theme_controller.rb
Instance Method Summary collapse
Instance Method Details
#sreenshot ⇒ Object
5 6 7 8 |
# File 'app/controllers/refinery/themes/theme_controller.rb', line 5 def sreenshot send_data IO.read(File.join(Refinery::Themes::Theme.theme_path(params[:key]), "config/image.png")), :disposition => "inline", :stream => false end |