discourse/plugins/discourse-narrative-bot/lib/discourse_narrative_bot
Loïc Guitaut 430d6308a8 FIX: Render links with subfolders properly in Discobot
Currently, some links aren’t properly built in Discobot when Discourse
is hosted in a subfolder. This is because we’re providing
`Discourse.base_url` to the Rails helpers which contains the base URL
*with* the prefix. But Rails helpers already handle this prefix so the
resulting link gets the prefix twice.

The fix is quite simple: use `Discourse.base_url_no_prefix` instead of
`Discourse.base_url`.
2023-04-17 16:53:00 +02:00
..
templates DEV: Remove xlink hrefs (#15059) 2021-11-25 15:22:43 +11:00
actions.rb DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
advanced_user_narrative.rb UX/DEV: Review queue redesign fixes (#20239) 2023-03-02 16:40:53 +01:00
base.rb DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
certificate_generator.rb DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
dice.rb DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
magic_8_ball.rb DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
new_user_narrative.rb FIX: Render links with subfolders properly in Discobot 2023-04-17 16:53:00 +02:00
quote_generator.rb DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
track_selector.rb DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
welcome_post_type_site_setting.rb DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00