{"action":"created","issue":{"url":"https://api.github.com/repos/sferik/rails_admin/issues/2283","labels_url":"https://api.github.com/repos/sferik/rails_admin/issues/2283/labels{/name}","comments_url":"https://api.github.com/repos/sferik/rails_admin/issues/2283/comments","events_url":"https://api.github.com/repos/sferik/rails_admin/issues/2283/events","html_url":"https://github.com/sferik/rails_admin/issues/2283","id":72305894,"number":2283,"title":"Problem with kaminari theme","user":{"login":"benjaminwood","id":1232531,"avatar_url":"https://avatars.githubusercontent.com/u/1232531?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaminwood","html_url":"https://github.com/benjaminwood","followers_url":"https://api.github.com/users/benjaminwood/followers","following_url":"https://api.github.com/users/benjaminwood/following{/other_user}","gists_url":"https://api.github.com/users/benjaminwood/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminwood/subscriptions","organizations_url":"https://api.github.com/users/benjaminwood/orgs","repos_url":"https://api.github.com/users/benjaminwood/repos","events_url":"https://api.github.com/users/benjaminwood/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminwood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-30T23:09:16Z","updated_at":"2015-06-10T18:30:18Z","closed_at":null,"body":"I ran into an interesting problem today which is that I'm working on a project which uses both rails_admin & this gem: https://github.com/matenia/bootstrap-kaminari-views\r\n\r\nThe problem is that both have kaminari themes at this path: `views/kaminari/twitter-bootstrap`. So, when I'm using Kaminari in some non rails_admin view and specify the theme like this:\r\n\r\n`= paginate @resource, remote: true, :theme => 'twitter-bootstrap'`\r\n\r\nI end up with rails_admin kaminari theme instead of the other gem referenced above. The main issue with this is in regards to the `remote: true` option. When this option is passed, rails_admin adds a 'pjax' class and does not specify `data-remote=true` (standard rails/what I need).\r\n\r\nMy temp solution was to simply copy the bootstrap-kaminari-views theme into my app /views directory and title it something else.\r\n\r\nPossible solution: change rails_admin kaminari theme name to something more specific like 'rails-admin-twitter-bootstrap'."},"comment":{"url":"https://api.github.com/repos/sferik/rails_admin/issues/comments/110865125","html_url":"https://github.com/sferik/rails_admin/issues/2283#issuecomment-110865125","issue_url":"https://api.github.com/repos/sferik/rails_admin/issues/2283","id":110865125,"user":{"login":"halilim","id":226712,"avatar_url":"https://avatars.githubusercontent.com/u/226712?v=3","gravatar_id":"","url":"https://api.github.com/users/halilim","html_url":"https://github.com/halilim","followers_url":"https://api.github.com/users/halilim/followers","following_url":"https://api.github.com/users/halilim/following{/other_user}","gists_url":"https://api.github.com/users/halilim/gists{/gist_id}","starred_url":"https://api.github.com/users/halilim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halilim/subscriptions","organizations_url":"https://api.github.com/users/halilim/orgs","repos_url":"https://api.github.com/users/halilim/repos","events_url":"https://api.github.com/users/halilim/events{/privacy}","received_events_url":"https://api.github.com/users/halilim/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T18:30:18Z","updated_at":"2015-06-10T18:30:18Z","body":"Putting `gem 'bootstrap-kaminari-views'` *after* `gem 'rails_admin'` has an even more interesting effect: it removes styling from rails_admin pagination."}}