data/transform/lib/skin.rb in card-mod-bootstrap-0.17.0 vs data/transform/lib/skin.rb in card-mod-bootstrap-0.18.0
- old
+ new
@@ -31,10 +31,10 @@
@skin_name = "#{theme_name} skin"
@skin_codename = @skin_name.downcase.tr(" ", "_")
end
def create_or_update
- Card.exists?(@skin_name) ? update_skin : create_skin
+ Card.exist?(@skin_name) ? update_skin : create_skin
end
def create_skin
Card.create! name: @skin_name,
codename: @skin_codename,