Permalink
Browse files

rewrite a bit current_theme attr_writer

  • Loading branch information...
1 parent 56eb3dd commit 64005ce0ab30485bbcdca32fe64d141448e0efee @fdutey committed Jan 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/formol/config.rb
View
@@ -23,7 +23,7 @@ def default_pygment_theme
def current_theme=(theme)
raise "formol theme '#{theme}' does not exists. Please provide one of the following list:\n#{Formol.themes.join(', ')}" unless Formol.themes.include?(theme.to_sym)
- @current_theme = theme
+ super
end
def default_pygment_theme=(theme)

0 comments on commit 64005ce

Please sign in to comment.