module Backtrail::ViewHelpers

Public Instance Methods

backtrail() click to toggle source
# File lib/backtrail/helpers.rb, line 3
def backtrail
  link_to 'Back', "#{previous_path}?trail=back", class: 'backtrail'
end