Class: ThemeController
Instance Method Summary
collapse
Methods included from BlogHelper
#blog_base_url, #this_blog
Instance Method Details
#error ⇒ Object
23
24
25
|
# File 'app/controllers/theme_controller.rb', line 23
def error
head :not_found
end
|
#fonts ⇒ Object
19
20
21
|
# File 'app/controllers/theme_controller.rb', line 19
def fonts
render_theme_item(:fonts, params[:filename])
end
|
#images ⇒ Object
15
16
17
|
# File 'app/controllers/theme_controller.rb', line 15
def images
render_theme_item(:images, params[:filename])
end
|
#javascripts ⇒ Object
11
12
13
|
# File 'app/controllers/theme_controller.rb', line 11
def javascripts
render_theme_item(:javascripts, params[:filename], "text/javascript; charset=utf-8")
end
|
#static_view_test ⇒ Object
27
|
# File 'app/controllers/theme_controller.rb', line 27
def static_view_test; end
|
#stylesheets ⇒ Object
7
8
9
|
# File 'app/controllers/theme_controller.rb', line 7
def stylesheets
render_theme_item(:stylesheets, params[:filename], "text/css; charset=utf-8")
end
|