Sha256: 2d313e883c706e01d96207da12dcdc9fb1687f73e7c774466b121fb8ac50ae72

Contents?: true

Size: 463 Bytes

Versions: 16

Compression:

Stored size: 463 Bytes

Contents

require_dependency "phcdevworks_tutorials/application_controller"

module PhcdevworksTutorials
  class Blog::TutorialsController < ApplicationController

    # Layout
    layout 'phcdevworks_tutorials/frontend'

    # INDEX
    def index
      @phcdevworks_tutorials_index = Tutorial::Post.where(tutorial_post_status: "published")
    end

    # SHOW
    def show
      @phcdevworks_tutorials_single = Tutorial::Post.friendly.find(params[:id])
    end

  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
phcdevworks_tutorials-5.0.0 app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb
phcdevworks_tutorials-4.0.1 app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb
phcdevworks_tutorials-4.0.0 app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb
phcdevworks_tutorials-3.0.0 app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb
phcdevworks_tutorials-2.1.2 app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb
phcdevworks_tutorials-2.1.1 app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb
phcdevworks_tutorials-2.1.0 app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb
phcdevworks_tutorials-2.0.0 app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb
phcdevworks_tutorials-1.2.5 app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb
phcdevworks_tutorials-1.2.4 app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb
phcdevworks_tutorials-1.2.3 app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb
phcdevworks_tutorials-1.2.2 app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb
phcdevworks_tutorials-1.2.1 app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb
phcdevworks_tutorials-1.2.0 app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb
phcdevworks_tutorials-1.1.1 app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb
phcdevworks_tutorials-1.1.0 app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb