Class: ApplicationController

Inherits:
ActionController::API
  • Object
show all
Defined in:
app/controllers/application_controller.rb

Overview

The base controller

Instance Method Summary collapse

Instance Method Details

#systemObject

Shows information about the app so the client can now the version of the backend


4
5
6
# File 'app/controllers/application_controller.rb', line 4

def system
  render json: { application: 'RForum', version: '1.0.0' }
end