diff --git a/source/posts/2014-04-22-rails-view-helpers.md b/source/posts/2014-04-22-rails-view-helpers.md index 27a4df7b..fe5d1eea 100644 --- a/source/posts/2014-04-22-rails-view-helpers.md +++ b/source/posts/2014-04-22-rails-view-helpers.md @@ -7,7 +7,7 @@ tags: rails, view helpers, haml, en Our marketting department recorded a lot of [tutorial](http://www.youtube.com/user/Bulutfon) [videos](https://vimeo.com/bulutfon) at last week. They want to link to related videos at related pages. Let's do this with a clever way. -This is our sample haml code block which shows icons and link to videos. As you see there are dublicate codes. +This is our sample haml code block which shows icons and link to videos. As you see there are duplicate codes. ```haml - content_for :toolbar do @@ -66,4 +66,4 @@ If we don't use rails view helpers, we should add `class: 'btn btn-default'` cod Resource 1. [http://haml.info/docs/yardoc/Haml/Helpers.html#capture_haml-instance_method](http://haml.info/docs/yardoc/Haml/Helpers.html#capture_haml-instance_method) -2. [http://haml.info/docs/yardoc/Haml/Helpers.html#haml_concat-instance_method](http://haml.info/docs/yardoc/Haml/Helpers.html#haml_concat-instance_method) \ No newline at end of file +2. [http://haml.info/docs/yardoc/Haml/Helpers.html#haml_concat-instance_method](http://haml.info/docs/yardoc/Haml/Helpers.html#haml_concat-instance_method)