mirror of
https://github.com/hkalexling/Mango.git
synced 2026-04-04 00:00:51 -04:00
Use base url in views
This commit is contained in:
@@ -51,6 +51,7 @@ class ReaderRouter < Router
|
||||
next_entry_url = "/reader/#{title.id}/#{next_entry.id}"
|
||||
end
|
||||
|
||||
base_url = Config.current.base_url
|
||||
render "src/views/reader.ecr"
|
||||
rescue e
|
||||
@context.error e
|
||||
|
||||
Reference in New Issue
Block a user