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 Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
contacts_controller.rb Mark non-attribute usage in SQL queries as safe. 2020-02-11 23:54:55 +01:00
conversation_visibilities_controller.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
conversations_controller.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
help_controller.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
home_controller.rb Simplify /podmin redirect 2018-04-12 01:55:46 +02:00
invitation_codes_controller.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
invitations_controller.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
likes_controller.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
links_controller.rb Add LinksController 2018-07-11 01:24:28 +02:00
manifest_controller.rb Change wording of description in PWA manifest 2019-04-27 19:11:27 +02:00
messages_controller.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
node_info_controller.rb Add a dummy route for /.well-known/host-meta 2022-07-23 00:17:06 +02:00
notifications_controller.rb Create birthday notification and mailer 2017-12-18 04:34:35 +01:00
participations_controller.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
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 Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
profiles_controller.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
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 Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
reshares_controller.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
search_controller.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
services_controller.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
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 Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
status_messages_controller.rb StatusMessageController#create: respond 422 when aspect_ids are wrong 2018-03-25 08:31:32 +02:00
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 Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
terms_controller.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
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