We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ab8b75 commit 4238a01Copy full SHA for 4238a01
app/controllers/wallets_controller.rb
@@ -108,6 +108,6 @@ def can_access_short_view?
108
# forces a redirect to the safer short_view if it is possible
109
# avoids to disclose the actual path of the wallet for QR enabled currencies
110
def redirect_to_short_view
111
- redirect_to wallet_short_path(@wallet.hash_id) if current_ability.can?(:short_view, @wallet)
+ redirect_to wallet_short_path(@wallet.hash_id) if current_ability.can?(:short_view, @wallet) && !@wallet.is_common_wallet?
112
end
113
0 commit comments