Sha256: 54e144ec9c2dfb1f9d63474defefa6d974f594271fcdbe1c62150798c109b6b0
Contents?: true
Size: 456 Bytes
Versions: 9
Compression:
Stored size: 456 Bytes
Contents
class FrontController < ApplicationController TEMPLATES = %w(responsive-slidebar fixed-header aside-nav) 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
9 entries across 9 versions & 1 rubygems