Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kalashnikovisme committed Jan 14, 2020
1 parent 5b4cd01 commit e905467
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tramway-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Rails.application.config.assets.precompile += %w( *.jpg *.png *.js )
#### date_view
Returns a date in the format depending on localization

*app/decorators/*_decorator.rb*
*app/decorators/\*_decorator.rb*
```ruby
def created_at
date_view object.created_at
Expand All @@ -65,7 +65,7 @@ end
#### image_view
Returns an image in a particular format depending on the parameters of the original image file

*app/decorators/*_decorator.rb*
*app/decorators/\*_decorator.rb*
```ruby
def avatar
image_view object.avatar
Expand All @@ -74,7 +74,7 @@ end
#### enumerize_view
Returns object enumerations as text

*app/decorators/*_decorator.rb*
*app/decorators/\*_decorator.rb*
```ruby
def field_type
enumerize_view object.field_type
Expand Down

0 comments on commit e905467

Please sign in to comment.