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.4.29 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.28 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.27 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.26 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.25 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.24 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.23 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.22 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.21 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.20 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.19 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.18 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.17 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.16 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.15 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.14 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.13 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.12 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.11 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.4.10 lib/inferno/apps/web/controllers/requests/show.rb