Class: TryApi::ProjectsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- TryApi::ProjectsController
- Defined in:
- app/controllers/try_api/projects_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
4 5 6 7 |
# File 'app/controllers/try_api/projects_controller.rb', line 4 def index @project = ConfigParser.read render json: {project: @project.to_json} end |