]> git.openstreetmap.org Git - rails.git/blobdiff - app/abilities/api_ability.rb
Do not merge zoom/lat/lon options with oauth_return_url
[rails.git] / app / abilities / api_ability.rb
index 9b274ec845d299f2ee6af894e80cb0f3ac0dac3a..fe39f5eb5aa2475a4d1c56fa9456e9a8842d117a 100644 (file)
@@ -21,6 +21,7 @@ class ApiAbility
       can [:history, :version], OldNode
       can [:history, :version], OldWay
       can [:history, :version], OldRelation
+      can [:show], UserBlock
     end
 
     if user&.active?