app/controllers/knitkit/erp_app/desktop/theme_controller.rb in knitkit-2.1.11 vs app/controllers/knitkit/erp_app/desktop/theme_controller.rb in knitkit-2.1.12

- old
+ new

@@ -35,10 +35,10 @@ def new begin current_user.with_capability('view', 'Theme') do unless params[:theme_data].blank? - @website.themes.import(params[:theme_data], @website) + Theme.import(params[:theme_data], @website) else theme = Theme.create(:website => @website, :name => params[:name], :theme_id => params[:theme_id]) theme.version = params[:version] theme.author = params[:author] theme.homepage = params[:homepage]