Sha256: 8468b8e7a096b46511e035e712fd0d524654b7b4b636e666337b6d72898d21b0
Contents?: true
Size: 316 Bytes
Versions: 17
Compression:
Stored size: 316 Bytes
Contents
class SectionsController < ApplicationController def show @publication = Publication.matching_slug(params[:publication_slug]).first @content = @publication.managed_contents.where(:slug => params[:content_slug]).first @section = @content.sections.where(:slug => params[:section_slug]).first end end
Version data entries
17 entries across 17 versions & 1 rubygems