Sha256: e1e11d28b2d8148c02353d9a848954a29b08b6fd6c6978d5c9e65ea3fbf86e28
Contents?: true
Size: 549 Bytes
Versions: 11
Compression:
Stored size: 549 Bytes
Contents
# frozen_string_literal: true 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
11 entries across 11 versions & 6 rubygems