tadyjp/rendezvous

View on GitHub
app/decorators/users_decorator.rb

Summary

Maintainability
A
0 mins
Test Coverage
class UsersDecorator < Draper::Decorator
  delegate_all

  # Define presentation-specific methods here. Helpers are accessed through
  # `helpers` (aka `h`). You can override attributes, for example:
  #
  #   def created_at
  #     helpers.content_tag :span, class: 'time' do
  #       object.created_at.strftime("%a %m/%d/%y")
  #     end
  #   end
end