Sha256: 0e71739622cb3ae4047d85f3e0447fcaab2610435739659b47e6e94437082ab8
Contents?: true
Size: 456 Bytes
Versions: 8
Compression:
Stored size: 456 Bytes
Contents
module Konacha class SpecsController < ActionController::Base rescue_from Konacha::Spec::NotFound do render :text => "Not found", :status => 404 end def parent @run_mode = params.fetch(:mode, Konacha.mode).to_s.inquiry @specs = Konacha::Spec.all(params[:path]) end def iframe @spec = Konacha::Spec.find_by_name(params[:name]) @stylesheets = Konacha::Engine.config.konacha.stylesheets end end end
Version data entries
8 entries across 8 versions & 1 rubygems