Created
March 12, 2018 09:13
-
-
Save musale/abf68c9ef75e09f44d8af6149edf390e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package controllers | |
import javax.inject.Inject | |
import play.api.mvc._ | |
import play.api.libs.json._ | |
// Quotes contoller | |
class QuotesController @Inject()(cc: ControllerComponents) extends AbstractController(cc) { | |
def fetch = Action { implicit request => | |
Ok(Json.obj("status"-> "OK")) | |
} | |
def add = Action {implicit request => | |
Ok(Json.obj("status"-> "OK")) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment