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