mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
commit
ca98bb81ca
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ rails generate decorator Article
|
|||
|
||||
### Accessing Helpers
|
||||
|
||||
Normal Rails helpers are still useful for lots tasks. Both Rails' provided helper and those defined in your app can be accessed via the `h` method:
|
||||
Normal Rails helpers are still useful for lots of tasks. Both Rails' provided helper and those defined in your app can be accessed via the `h` method:
|
||||
|
||||
```ruby
|
||||
class ArticleDecorator < Draper::Decorator
|
||||
|
|
Loading…
Reference in a new issue