Skip to content

Commit

Permalink
Handle legacy swift projects better
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Jul 22, 2016
1 parent 8b3c5fb commit 2af8c3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ def owner
end

def platform_class
platform = 'SwiftPM' if platform == 'Swift'
"Repositories::#{platform}".constantize
end

Expand Down

0 comments on commit 2af8c3d

Please sign in to comment.