Commit 97beb478d5c125ed8baf8c404820003beace30b7
1 parent
089515d8
Exists in
master
and in
29 other branches
Removed unnecessary else on approved_themes
(ActionItem2269)
Showing
1 changed file
with
0 additions
and
2 deletions
Show diff stats
app/models/theme.rb
... | ... | @@ -47,8 +47,6 @@ class Theme |
47 | 47 | config = YAML.load_file(File.join(item, 'theme.yml')) |
48 | 48 | (config['owner_type'] == owner.class.base_class.name) && |
49 | 49 | (config['owner_id'] == owner.id) || config['public'] |
50 | - else | |
51 | - false | |
52 | 50 | end |
53 | 51 | end.map do |desc| |
54 | 52 | new(File.basename(desc)) | ... | ... |