Sha256: 7ca4b5e7ab32d9e62adb7cc034747aff02b5164cf70e9b63a3355f1504795ddf

Contents?: true

Size: 345 Bytes

Versions: 54

Compression:

Stored size: 345 Bytes

Contents

module Inferno
  module Web
    module Controllers
      module Requests
        class Show < Controller
          def handle(req, res)
            request = repo.find_full_request(req.params[:id])
            halt 404 if request.nil?

            res.body = serialize(request, view: :full)
          end
        end
      end
    end
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
inferno_core-0.6.1 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.6.0 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.5.4 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.5.3 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.5.2 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.5.1 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.5.0 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.44 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.43 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.42 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.41 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.40 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.39 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.38 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.35 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.34 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.33 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.32 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.31 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.30 lib/inferno/apps/web/controllers/requests/show.rb