Sha256: d2aa0670caf42e0fe5fcf5532cca649e5c2e71864df52fac2b53124beb3a15e1

Contents?: true

Size: 253 Bytes

Versions: 20

Compression:

Stored size: 253 Bytes

Contents

module Konacha
  class SpecsController < ActionController::Base
    rescue_from Konacha::Spec::NotFound do
      render :text => "Not found", :status => 404
    end

    def specs
      @specs = Konacha::Spec.find(params[:path] || "")
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
konacha-1.5.1 app/controllers/konacha/specs_controller.rb
konacha-1.5.0 app/controllers/konacha/specs_controller.rb
konacha-1.4.2 app/controllers/konacha/specs_controller.rb
konacha-1.4.1 app/controllers/konacha/specs_controller.rb
konacha-1.4.0 app/controllers/konacha/specs_controller.rb
konacha-1.3.1 app/controllers/konacha/specs_controller.rb
konacha-1.3.0 app/controllers/konacha/specs_controller.rb
konacha-1.2.4 app/controllers/konacha/specs_controller.rb
konacha-1.2.3 app/controllers/konacha/specs_controller.rb
konacha-1.2.2 app/controllers/konacha/specs_controller.rb
konacha-1.2.1 app/controllers/konacha/specs_controller.rb
konacha-1.2.0 app/controllers/konacha/specs_controller.rb
konacha-1.1.3 app/controllers/konacha/specs_controller.rb
konacha-1.1.2 app/controllers/konacha/specs_controller.rb
konacha-1.1.1 app/controllers/konacha/specs_controller.rb
konacha-1.1.0 app/controllers/konacha/specs_controller.rb
konacha-1.0.0 app/controllers/konacha/specs_controller.rb
konacha-1.0.0.rc1 app/controllers/konacha/specs_controller.rb
konacha-0.10.0 app/controllers/konacha/specs_controller.rb
konacha-0.9.1 app/controllers/konacha/specs_controller.rb