diff options
| author | ReverM <danael.villeneuve@gmail.com> | 2025-11-13 20:46:48 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-11-13 20:50:34 -0500 |
| commit | b86bf1917502a6240b8cc32e23c455984b50518b (patch) | |
| tree | a66691714977acd0012962026389e4b20cd9d92c /app | |
| parent | bd81c9bc42c2877c51ce872be0dbb7b6e629923a (diff) | |
| download | thoughts-b86bf1917502a6240b8cc32e23c455984b50518b.tar.gz thoughts-b86bf1917502a6240b8cc32e23c455984b50518b.tar.bz2 thoughts-b86bf1917502a6240b8cc32e23c455984b50518b.zip | |
Both bugs stemmed from turbolinks being weird. This disable turbolinks for both of these pages.
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/layouts/quotes.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
| diff --git a/app/views/layouts/quotes.html.haml b/app/views/layouts/quotes.html.haml index 4b21000..040fdfe 100644 --- a/app/views/layouts/quotes.html.haml +++ b/app/views/layouts/quotes.html.haml | |||
| @@ -21,12 +21,12 @@ | |||
| 21 | %li= link_to_unless_current "Home", quotes_url | 21 | %li= link_to_unless_current "Home", quotes_url |
| 22 | %li= link_to_unless_current "Latest", latest_quotes_url | 22 | %li= link_to_unless_current "Latest", latest_quotes_url |
| 23 | %li= link_to_unless_current "Top", top_quotes_url | 23 | %li= link_to_unless_current "Top", top_quotes_url |
| 24 | %li= link_to "Random", random_quotes_url | 24 | %li{"data-turbolinks" => "false"}= link_to "Random", random_quotes_url |
| 25 | - if user_signed_in? | 25 | - if user_signed_in? |
| 26 | %li= link_to_unless_current "Submit", new_quote_url | 26 | %li= link_to_unless_current "Submit", new_quote_url |
| 27 | %li= link_to_unless_current "Tags", tags_quotes_url | 27 | %li= link_to_unless_current "Tags", tags_quotes_url |
| 28 | %li= link_to_unless_current "Search", search_form_quotes_url | 28 | %li= link_to_unless_current "Search", search_form_quotes_url |
| 29 | %li= link_to_unless_current "Stats", stats_quotes_url | 29 | %li{"data-turbolinks" => "false"}= link_to_unless_current "Stats", stats_quotes_url |
| 30 | %li= link_to_unless_current "Feed", latest_quotes_url(:atom) | 30 | %li= link_to_unless_current "Feed", latest_quotes_url(:atom) |
| 31 | - if user_signed_in? | 31 | - if user_signed_in? |
| 32 | %li= link_to_unless_current "Admin", admin_url | 32 | %li= link_to_unless_current "Admin", admin_url |
