class InstallationsController < ApplicationController before_action :authenticate_device respond_to :json def installed Installation.find(params[:id]).installed! render json:{}, status: :ok end end