diff --git a/app/controllers/themes_controller.rb b/app/controllers/themes_controller.rb index 7973b47..1904002 100644 --- a/app/controllers/themes_controller.rb +++ b/app/controllers/themes_controller.rb @@ -13,7 +13,7 @@ class ThemesController < ApplicationController def index @environment = environment - @themes = (environment.themes + Theme.approved_themes(target)).sort_by { |t| t.name } + @themes = (environment.themes + Theme.approved_themes(target)).uniq.sort_by { |t| t.name } @current_theme = target.theme -- libgit2 0.21.2