Skip to content

Commit

Permalink
Typo fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Onur Özgür ÖZKAN committed Apr 25, 2014
1 parent 073f29d commit c3fbbf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/posts/2014-04-22-rails-view-helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
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)

1 comment on commit c3fbbf8

@baygunm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.