Browse files

0.7.8 - Refactoring Helper Icono

  • Loading branch information...
1 parent 7022259 commit cf5db9e7fd3f5336515316ea907d07699bf4b064 @nicanor nicanor committed Apr 10, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −0 CHANGELOG.md
  2. +0 −2 proyecto/app/helpers/application_helper.rb
View
3 CHANGELOG.md
@@ -1,3 +1,6 @@
+## v0.7.7
+* Refactoring helper method - Icono
+
## v0.7.6
* crear.js ahora permite crear elementos sin romperse al haber varias tablas
View
2 proyecto/app/helpers/application_helper.rb
@@ -20,8 +20,6 @@ def video(codigo, tamano_x = "550", tamano_y = "450")
end
def icono(nombre, estilo = :normal)
- c = "icon-#{nombre} "
- c += 'icon-white ' if estilo == :blanco
content_tag :i, '', :class => ["icon-#{nombre}", ("icon-white" if estilo == :blanco)]
end

0 comments on commit cf5db9e

Please sign in to comment.