Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 495 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 495 Bytes

Custom Defined Helpers

In addition to the helpers provided by Middleman out of the box, you can also add your own helper methods and classes that will be accessible within any controller or view automatically.

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

# helpers/coach_helpers.rb

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