Skip to content

Commit

Permalink
Merge pull request #17 from fs/add-helper
Browse files Browse the repository at this point in the history
Add helpers directory with README
  • Loading branch information
timurvafin committed Jan 14, 2014
2 parents 1f3e117 + d41e1b7 commit 3a68e15
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions helpers/README.md
@@ -0,0 +1,18 @@
# Custom Defined Helpers

In addition to the [helpers provided by Middleman](http://middlemanapp.com/basics/helpers/)
out of the box, you can also add your [own helper methods](http://middlemanapp.com/basics/helpers/#toc_9)
and classes that will be accessible within any controller or view automatically.

You just need to define module and place in this directory.
Example:

```ruby
# helpers/coach_helpers.rb

module CustomHelpers
def some_method
# ...do something here...
end
end
```

0 comments on commit 3a68e15

Please sign in to comment.