Sha256: 9c2482ae7be8a04419c405fb3880f85f62e287cd614cbf740aa15c4bddef78ae

Contents?: true

Size: 225 Bytes

Versions: 35

Compression:

Stored size: 225 Bytes

Contents

class Site::SiteController < Site::BaseController
    
  # =========
  # = Pages =
  # =========
  
  page :home, "/" do
  end
  
  caches_action(:sitemap, :expires_in => 3.hours)  
  def sitemap
    render_sitemap
  end

end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
fullstack-cms-0.4.6 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.4.5 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.4.4 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.4.3 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.4.2 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.4.1 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.3.39 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.3.38 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.3.37 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.3.36 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.3.35 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.3.34 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.3.33 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.3.32 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.3.31 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.3.30 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.3.29 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.3.28 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.3.27 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb
fullstack-cms-0.3.26 lib/generators/fullstack/cms/templates/rails/app/controllers/site/site_controller.rb