src/main/kotlin/de/uapcore/lightpit/RequestMapping.kt

changeset 311
bf67e0ff7131
parent 292
703591e739f4
--- a/src/main/kotlin/de/uapcore/lightpit/RequestMapping.kt	Mon Aug 05 17:41:56 2024 +0200
+++ b/src/main/kotlin/de/uapcore/lightpit/RequestMapping.kt	Mon Aug 05 18:40:47 2024 +0200
@@ -84,7 +84,7 @@
 
     /**
      * A list of additional style sheets.
-     *
+     * TODO: remove this unnecessary attribute and merge all style sheets into one global
      * @see Constants#REQ_ATTR_STYLESHEET
      */
     var styleSheets = emptyList<String>()
@@ -129,16 +129,6 @@
             }
         }
 
-    var feedPath: String? = null
-        set(value) {
-            field = value
-            if (value == null) {
-                request.removeAttribute(Constants.REQ_ATTR_FEED_HREF)
-            } else {
-                request.setAttribute(Constants.REQ_ATTR_FEED_HREF, baseHref + value)
-            }
-        }
-
     /**
      * The view object.
      *

mercurial