Sha256: 0a47b7c516fd1ef4c2992f501bd2222810ff0972cae179ca0d205ecf538b2ffd
Contents?: true
Size: 518 Bytes
Versions: 3
Compression:
Stored size: 518 Bytes
Contents
module ComfyBlog class Configuration # Application layout to be used to index blog posts. # Default is 'comfy/blog/application' attr_accessor :app_layout # Number of posts per page. Default is 10 attr_accessor :posts_per_page # Auto-setting parameter derived from the routes attr_accessor :public_blog_path # Configuration defaults def initialize @posts_per_page = 10 @app_layout = "comfy/blog/application" @public_blog_path = nil end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
comfy_blog-2.0.5 | lib/comfy_blog/configuration.rb |
comfy_blog-2.0.4 | lib/comfy_blog/configuration.rb |
comfy_blog-2.0.3 | lib/comfy_blog/configuration.rb |