diaspora/app/controllers
Benjamin Neff cbbb0a55c2
Add redirect to mobile-only photo URL when in desktop UI
This URL is only used in the mobile UI, but when somebody then copies
the link and sends it to somebody on the desktop UI, they don't see
anything. So lets just redirect to the post containing the photo, so
there is at least something to show.

If there is no linked post, just redirect to the image instead.

Fixes #8352
2022-10-30 00:32:31 +02:00
..
admin Adding total and active count to pod view 2022-07-31 00:19:41 +02:00
api Remove "Did you mean?" from api errors when a parameter is missing 2022-07-20 21:35:02 +02:00
admins_controller.rb Remove links to deleted profiles in admin user stats 2020-03-21 19:14:56 +01:00
application_controller.rb Bump diaspora_federation and enable forgery protection by default 2022-07-24 00:29:56 +02:00
aspect_memberships_controller.rb Contacts API Feature complete with full tests 2018-12-01 15:21:16 -05:00
aspects_controller.rb Merge pull request #8069 from denschub/remove-chat 2019-10-25 01:32:37 +02:00
blocks_controller.rb Add API route to (un)block a user 2020-03-20 12:38:27 +01:00
comments_controller.rb
contacts_controller.rb Mark non-attribute usage in SQL queries as safe. 2020-02-11 23:54:55 +01:00
conversation_visibilities_controller.rb
conversations_controller.rb
help_controller.rb
home_controller.rb
invitation_codes_controller.rb
invitations_controller.rb
likes_controller.rb
links_controller.rb
manifest_controller.rb Change wording of description in PWA manifest 2019-04-27 19:11:27 +02:00
messages_controller.rb
node_info_controller.rb Add a dummy route for /.well-known/host-meta 2022-07-23 00:17:06 +02:00
notifications_controller.rb
participations_controller.rb
people_controller.rb Merge branch 'next-minor' into develop 2022-07-20 21:34:39 +02:00
photos_controller.rb Add redirect to mobile-only photo URL when in desktop UI 2022-10-30 00:32:31 +02:00
poll_participations_controller.rb Add Poll Voting Method to Interactions Endpoint 2018-12-16 11:06:27 -05:00
posts_controller.rb
profiles_controller.rb
registrations_controller.rb Use a partial to share code between mobile and desktop, add the new route to the RegistrationController, drop flash message for closed registrations 2019-05-12 00:25:36 +02:00
report_controller.rb
reshares_controller.rb
search_controller.rb
services_controller.rb
sessions_controller.rb Remove /user/auth_token route, this was a leftover from the chat 2022-02-27 23:06:24 +01:00
share_visibilities_controller.rb
status_messages_controller.rb
streams_controller.rb Fixing PR Rewview issues 2021-04-18 13:11:25 +02:00
tag_followings_controller.rb Fix error in TagFollowingsController#create when duplicate is created 2020-10-23 21:10:15 +02:00
tags_controller.rb
terms_controller.rb
two_factor_authentications_controller.rb Use password to disable 2FA instead of a token 2019-04-30 22:51:51 +02:00
users_controller.rb Merge branch 'next-minor' into develop 2022-07-20 21:34:39 +02:00