Sha256: 1d383519904c2aaccdb1dd78effeb490b0fd2a25f29e39c1695cdb3a3d6063e7
Contents?: true
Size: 446 Bytes
Versions: 18
Compression:
Stored size: 446 Bytes
Contents
class FrontController < ApplicationController TEMPLATES = %w(responsive-slidebar fixed-header) def start Rails.logger.info "Front - Start" end def templates Rails.logger.info "Front - templates" if params[:template] && TEMPLATES.include?(params[:template].to_s) render "templates/#{params[:template]}", layout: "blank" else render "templates/responsive-slidebar", layout: "blank" end end end
Version data entries
18 entries across 18 versions & 1 rubygems