module PhrasingHelper
Public Instance Methods
can_edit_phrases?()
click to toggle source
You must implement the can_edit_phrases? method. Example:
def can_edit_phrases?
current_user.is_admin?
end
# File lib/generators/phrasing/templates/app/helpers/phrasing_helper.rb, line 9 def can_edit_phrases? raise NotImplementedError.new("You must implement the can_edit_phrases? method") end