about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-10-02 01:23:32 +0200
committerGitHub <noreply@github.com>2017-10-02 01:23:32 +0200
commit47ecd652d3f8256a191401f005d42760e858e6de (patch)
treeaa536551b0722bfc15c26d9b5bc4b54b63d2d4f4 /app/controllers
parent04fa4eb7f95a53138949aac9dd5041a2bdade277 (diff)
Make Chrome splash screen same color as web UI's background color (#5169)
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/manifests_controller.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/app/controllers/manifests_controller.rb b/app/controllers/manifests_controller.rb
index 832e1eb6f..ac267c229 100644
--- a/app/controllers/manifests_controller.rb
+++ b/app/controllers/manifests_controller.rb
@@ -1,11 +1,7 @@
 # frozen_string_literal: true
 
 class ManifestsController < ApplicationController
-  before_action :set_instance_presenter
-
-  def show; end
-
-  def set_instance_presenter
-    @instance_presenter = InstancePresenter.new
+  def show
+    render json: InstancePresenter.new, serializer: ManifestSerializer
   end
 end