Sha256: 83a8986c0e5484f9b83a5af2b5eb99a95e322decf05bdb26e90f7f3024434378

Contents?: true

Size: 338 Bytes

Versions: 39

Compression:

Stored size: 338 Bytes

Contents

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

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

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
inferno_core-0.3.12 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.3.11 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.3.10 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.3.9 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.3.8 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.3.7 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.3.6 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.3.5 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.3.4 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.3.3 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.3.2 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.3.1 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.3.0 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.3.0.rc1 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.2.0 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.2.0.rc4 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.2.0.rc3 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.2.0.rc2 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.2.0.rc1 lib/inferno/apps/web/controllers/requests/show.rb
inferno_core-0.1.4.pre lib/inferno/apps/web/controllers/requests/show.rb