lib/sht_rails/config.rb in sht_rails-0.2.0 vs lib/sht_rails/config.rb in sht_rails-0.2.1
- old
+ new
@@ -8,10 +8,12 @@
# ShtRails.configure do |config|
# config.template_extension = 'handlebars'
# end
module Config
- attr_accessor :template_base_path, :template_extension, :action_view_key, :template_namespace, :helper_path
+ extend self
+
+ attr_writer :template_base_path, :template_extension, :action_view_key, :template_namespace, :helper_path
def configure
yield self
end