Sha256: 7e455eb896c4252428bbb78909ae1e08c493a99ffa24fd55f3b009bc94446c36
Contents?: true
Size: 481 Bytes
Versions: 1
Compression:
Stored size: 481 Bytes
Contents
class FrontController < ApplicationController TEMPLATES = %w(slidebar-header slidebar-subnav fixed-header aside-nav fixed-subnav) 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
magic_stylez-0.0.0.48 | test/dummy/app/controllers/front_controller.rb |