Skip to content

Commit 66e81ba

Browse files
committed
Update README [ci skip]
1 parent b27df18 commit 66e81ba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,8 @@ It also helps in separating view/presentation logic from filtering logic (the on
451451
Example :
452452

453453
```ruby
454-
...
454+
class UserDatatable < AjaxDatatablesRails::ActiveRecord
455+
...
455456
def data
456457
records.map do |record|
457458
{
@@ -464,7 +465,8 @@ Example :
464465
}
465466
end
466467
end
467-
...
468+
...
469+
end
468470

469471
class UserDecorator < ApplicationDecorator
470472
delegate :last_name, :bio

0 commit comments

Comments
 (0)