lib/sitepress/rails_configuration.rb in sitepress-rails-1.0.0 vs lib/sitepress/rails_configuration.rb in sitepress-rails-1.0.1
- old
+ new
@@ -4,10 +4,11 @@
# Configuration object for rails application.
class RailsConfiguration
# Store in ./app/content by default.
DEFAULT_SITE_ROOT = "app/content".freeze
- attr_accessor :site, :parent_engine, :routes, :cache_resources
+ attr_accessor :routes
+ attr_writer :site, :parent_engine
# Delegates configuration points into the Sitepress site.
extend Forwardable
def_delegators :site, :cache_resources, :cache_resources=, :cache_resources?