This file contains hidden or 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
| # |<--- ^ <emoji>? <type>: <subject> ^ --->| | |
| # |<--- v Explain why this change is being made v --->| | |
| # |<--- v Provide links to tickets, issues or other resources v --->| | |
| # --- COMMIT END --- |
This file contains hidden or 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
| def rss = Action { implicit request => | |
| Ok( | |
| <rss version="2.0"> | |
| <channel> | |
| <title>News Application</title> | |
| <link>{ routes.Application.index.absoluteURL(false) }</link> | |
| <description>News Application</description> | |
| { NewsArticle.all.map { newsArticle => | |
| <item> | |
| <title>{ newsArticle.title }</title> |