test/rails/fake_app/cells.rb in trailblazer-0.2.2 vs test/rails/fake_app/cells.rb in trailblazer-0.3.0
- old
+ new
@@ -2,20 +2,20 @@
include Kaminari::Cells
def show(users)
@users = users
- render :inline => <<-ERB
+ render inline: <<-ERB
<%= paginate @users %>
ERB
end
end
class ViewModelCell < Cell::ViewModel
include Kaminari::Cells
def show
- render :inline => <<-ERB
+ render inline: <<-ERB
<%= paginate model %>
ERB
end
end
\ No newline at end of file