Skip to content

Latest commit

 

History

History

helpers

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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