Rishi
Rishi
In `application_helper.rb`, ``` ruby def paginate(collection, params= {})` will_paginate collection, params.merge(:renderer => LinkPaginationHelper::LinkRenderer) end ``` In `link_pagination_helper.rb`, ``` ruby module LinkPaginationHelper class LinkRenderer < WillPaginate::ActionView::LinkRenderer def link(text, target, attributes =...
You can hard code it in the link as `href=\"/categories\"` , right?
ahhh ok. So you can do this: in `index.html` ``` ruby = paginate @posts, {"data-length" => 20, :controller_accessed => "posts"} ``` in `link_pagination_helper.rb` ``` ruby module LinkPaginationHelper class LinkRenderer <...
So basically you can assign any value to this `object_type_accessed` however you have your routes setup. Ex: for "episodes", in episodes index page(I am assuming you are displaying it on...
Yes, this is is not the cleanest and prettiest way to do it. It gets the job done :smile: And yes, an option to handle this use case would be...
the changes lgtm.
can we close this issue since it is already resolved by #934 ? @PragTob
@etagwerker Can we close this issue ?
I could not reproduce this locally. This is what I did: 1) Added the discordrb gem in the Gemfile, bundle install. 2) rails s I was expecting the message that...
This is an issue with the latest version of RC as well.