Sha256: 1df0a256dc2911b0f73df9e537b3f578a168f2a4494c8ec1dce416dcdd5115c1

Contents?: true

Size: 214 Bytes

Versions: 8

Compression:

Stored size: 214 Bytes

Contents

# frozen_string_literal: true
class BlogsController < ApplicationController
  include C::BlogsHelper
  def index
    @blogs = archive_blogs
  end

  def show
    @blog = C::Blog.get_from_url(params[:id])
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cd2_catton_cms-1.1.35 spec/dummy/app/controllers/blogs_controller.rb
cd2_catton_cms-1.1.34 spec/dummy/app/controllers/blogs_controller.rb
cd2_catton_cms-1.1.33 spec/dummy/app/controllers/blogs_controller.rb
cd2_catton_cms-1.1.32 spec/dummy/app/controllers/blogs_controller.rb
cd2_catton_cms-1.1.31 spec/dummy/app/controllers/blogs_controller.rb
cd2_catton_cms-1.1.30 spec/dummy/app/controllers/blogs_controller.rb
cd2_catton_cms-1.1.20 spec/dummy/app/controllers/blogs_controller.rb
cd2_catton_cms-1.1.10 spec/dummy/app/controllers/blogs_controller.rb