Skip to content
Snippets Groups Projects

Fixes the 500 for custom apearance header logo and logo

3 files
+ 46
0
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -21,6 +21,8 @@ class UploadsController < ApplicationController
can?(current_user, :read_project, model.project)
when User
true
when Appearance
true
else
permission = "read_#{model.class.to_s.underscore}".to_sym
Loading