Sha256: 7aab3b77ced044cc65f1f90254e756202f95f0e8b438fb27c54c0fddf983a592
Contents?: true
Size: 389 Bytes
Versions: 9
Compression:
Stored size: 389 Bytes
Contents
module ReleaseNotes class ReleaseNotesController < ApplicationController layout "release_notes/application" def index @release_notes = "::#{ReleaseNotes.release_note_model}".constantize.all.order('-id') end def show @release_notes = "::#{ReleaseNotes.release_note_model}".constantize.where(version: "#{params[:version]}".gsub('_','.')) end end end
Version data entries
9 entries across 9 versions & 1 rubygems