Sha256: d1f3a230a7f185d6a8dfa7a152b6bc81e0e93e2f4fe41ef872a2b66660be7daa

Contents?: true

Size: 525 Bytes

Versions: 2

Compression:

Stored size: 525 Bytes

Contents

module Storytime
  module Dashboard
    module SitesHelper
      def post_slug_style_options
        [
          ["Default - e.g. /posts/123", :default], 
          ["Day and Name - e.g. /1985/06/09/post-title", :day_and_name], 
          ["Month and Name - e.g. /1985/06/post-title", :month_and_name], 
          ["Post Name - e.g. /post-title", :post_name]
        ]
      end

      def root_page_content_options
        [
          ["Blog Posts", :posts], 
          ["Page", :page]
        ]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
storytime-0.0.4 app/helpers/storytime/dashboard/sites_helper.rb
storytime-0.0.2 app/helpers/storytime/dashboard/sites_helper.rb