Sha256: aa7accfec62367b724ffd2f69d9eb268af09d2464b2cbcdd657b8b4bedca5cd7
Contents?: true
Size: 391 Bytes
Versions: 3
Compression:
Stored size: 391 Bytes
Contents
module Konacha class SpecsController < ActionController::Base rescue_from Konacha::Spec::NotFound do render :text => "Not found", :status => 404 end def parent @specs = Konacha::Spec.find(params[:path] || "") end def iframe @specs = Konacha::Spec.find(params[:path]) @stylesheets = Konacha::Engine.config.konacha.stylesheets end end end
Version data entries
3 entries across 3 versions & 1 rubygems