You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _includes/README.html
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -205,7 +205,7 @@ <h2>Routes</h2>
205
205
be merged into the global <codeclass="highlighter-rouge">:mustermann_opts</code> hash described
206
206
<ahref="#available-settings">below</a>.</p>
207
207
208
-
<h2>Conditions</h2>
208
+
<h2id="conditions">Conditions</h2>
209
209
210
210
<p>Routes may include a variety of matching conditions, such as the user agent:</p>
211
211
@@ -274,7 +274,7 @@ <h2>Conditions</h2>
274
274
</code></pre>
275
275
</div>
276
276
277
-
<h2>Return Values</h2>
277
+
<h2id="return-values">Return Values</h2>
278
278
279
279
<p>The return value of a route block determines at least the response body
280
280
passed on to the HTTP client, or at least the next middleware in the
@@ -1177,7 +1177,7 @@ <h3>Templates with <code class="highlighter-rouge">yield</code> and nested layou
1177
1177
<p>Currently, the following rendering methods accept a block: <codeclass="highlighter-rouge">erb</code>, <codeclass="highlighter-rouge">haml</code>,
1178
1178
<codeclass="highlighter-rouge">liquid</code>, <codeclass="highlighter-rouge">slim </code>, <codeclass="highlighter-rouge">wlang</code>. Also the general <codeclass="highlighter-rouge">render</code> method accepts a block.</p>
1179
1179
1180
-
<h3>Inline Templates</h3>
1180
+
<h3id="inline-templates">Inline Templates</h3>
1181
1181
1182
1182
<p>Templates may be defined at the end of the source file:</p>
1183
1183
@@ -1380,7 +1380,7 @@ <h2>Helpers</h2>
1380
1380
1381
1381
<p>The effect is the same as including the modules in the application class.</p>
1382
1382
1383
-
<h3>Using Sessions</h3>
1383
+
<h3id="using-sessions">Using Sessions</h3>
1384
1384
1385
1385
<p>A session is used to keep state during requests. If activated, you have one
1386
1386
session hash per user session:</p>
@@ -1658,7 +1658,7 @@ <h3>Setting Body, Status Code and Headers</h3>
1658
1658
<p>Like <codeclass="highlighter-rouge">body</code>, <codeclass="highlighter-rouge">headers</code> and <codeclass="highlighter-rouge">status</code> with no arguments can be used to access
0 commit comments