Sha256: b689d25b9e32d1e0750167c631846791d8b18218691e746de4aa4f631e3e866e
Contents?: true
Size: 520 Bytes
Versions: 13
Compression:
Stored size: 520 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 @javascripts = Konacha::Engine.config.konacha.javascripts end end end
Version data entries
13 entries across 13 versions & 1 rubygems