mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-02-03 21:43:40 -05:00
0aa69487a2
Conflicts: - `app/models/concerns/user/has_settings.rb`: Not a real conflict, upstream added a setting textually close to a glitch-soc one. Added upstream's new setting. - `app/views/settings/preferences/appearance/show.html.haml`: Not a real conflict, upstream added a setting textually close to a glitch-soc one. Added upstream's new setting. - `config/routes.rb`: Upstream moved web app routes to `config/routes/web_app.rb`, while glitch-soc had an extra route. Moved the extra route to `config/routes/web_app.rb`. - `spec/controllers/settings/preferences/appearance_controller_spec.rb`: This spec got converted to a system spec upstream. However, the theme setting works differently in glitch-soc, so the spec had been changed. Changed the corresponding system spec as well.
36 lines
629 B
Ruby
36 lines
629 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Paths handled by the React application, which do not:
|
|
# - Require indexing
|
|
# - Have alternative format representations
|
|
|
|
%w(
|
|
/blocks
|
|
/bookmarks
|
|
/conversations
|
|
/deck/(*any)
|
|
/directory
|
|
/domain_blocks
|
|
/explore/(*any)
|
|
/favourites
|
|
/follow_requests
|
|
/followed_tags
|
|
/getting-started
|
|
/getting-started-misc
|
|
/home
|
|
/keyboard-shortcuts
|
|
/links/(*any)
|
|
/lists/(*any)
|
|
/mutes
|
|
/notifications_v2/(*any)
|
|
/notifications/(*any)
|
|
/pinned
|
|
/public
|
|
/public/local
|
|
/public/remote
|
|
/publish
|
|
/search
|
|
/start/(*any)
|
|
/statuses/(*any)
|
|
).each { |path| get path, to: 'home#index' }
|