Class: Flexite::ApiController

Inherits:
ApplicationController show all
Defined in:
app/controllers/flexite/api_controller.rb

Instance Method Summary collapse

Instance Method Details

#configsObject



5
6
7
8
# File 'app/controllers/flexite/api_controller.rb', line 5

def configs
  @nodes = Config.t_nodes
  render json: @nodes
end