Class: FrontEndBuilds::HostAppsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/front_end_builds/host_apps_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#error!, #respond_with_json

Instance Method Details

#showObject



5
6
7
8
9
10
11
12
# File 'app/controllers/front_end_builds/host_apps_controller.rb', line 5

def show
  respond_with_json({
    host_app: {
      id: params[:id],
      name: Rails.application.class.parent_name
    }
  })
end