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: context/getting-started.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,10 @@ Utopia includes a redirection middleware to redirect all root-level requests to
34
34
```ruby
35
35
# in config/application.rb
36
36
37
-
use Utopia::Redirection::Rewrite,
38
-
"/" => "/welcome/index"
37
+
Application=Utopia::Application.build do
38
+
use Utopia::Redirection::Rewrite,
39
+
"/" => "/welcome/index"
40
+
end
39
41
```
40
42
41
43
The content for this page is stored in `pages/welcome/index.xnode`. The format of this page is a subset of HTML5 - open and close tags are strictly enforced.
Copy file name to clipboardExpand all lines: guides/getting-started/readme.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,10 @@ Utopia includes a redirection middleware to redirect all root-level requests to
34
34
```ruby
35
35
# in config/application.rb
36
36
37
-
use Utopia::Redirection::Rewrite,
38
-
"/" => "/welcome/index"
37
+
Application=Utopia::Application.build do
38
+
use Utopia::Redirection::Rewrite,
39
+
"/" => "/welcome/index"
40
+
end
39
41
```
40
42
41
43
The content for this page is stored in `pages/welcome/index.xnode`. The format of this page is a subset of HTML5 - open and close tags are strictly enforced.
0 commit comments