Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module application helper #16

Open
cbtones opened this issue Sep 14, 2015 · 0 comments
Open

module application helper #16

cbtones opened this issue Sep 14, 2015 · 0 comments

Comments

@cbtones
Copy link

cbtones commented Sep 14, 2015

Rails 4.2.2
In your Default Options, "theme: 'twitter-bootstrap'" is not working.
module ApplicationHelper
def paginate objects, options = {}
options.reverse_merge!( theme: 'twitter-bootstrap' )

super( objects, options )

end

end

I preferred to add,
options.reverse_merge!( theme: 'twitter-bootstrap-3' )

-Hope it helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant