{"action":"created","issue":{"url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4069","labels_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4069/labels{/name}","comments_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4069/comments","events_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4069/events","html_url":"https://github.com/activeadmin/activeadmin/issues/4069","id":100704220,"number":4069,"title":"How can i use activeadmin inside mountable rails engine","user":{"login":"nazrulcse","id":1034949,"avatar_url":"https://avatars.githubusercontent.com/u/1034949?v=3","gravatar_id":"","url":"https://api.github.com/users/nazrulcse","html_url":"https://github.com/nazrulcse","followers_url":"https://api.github.com/users/nazrulcse/followers","following_url":"https://api.github.com/users/nazrulcse/following{/other_user}","gists_url":"https://api.github.com/users/nazrulcse/gists{/gist_id}","starred_url":"https://api.github.com/users/nazrulcse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazrulcse/subscriptions","organizations_url":"https://api.github.com/users/nazrulcse/orgs","repos_url":"https://api.github.com/users/nazrulcse/repos","events_url":"https://api.github.com/users/nazrulcse/events{/privacy}","received_events_url":"https://api.github.com/users/nazrulcse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-13T07:07:18Z","updated_at":"2015-08-18T07:32:23Z","closed_at":null,"body":" I want to integrate active admin into my mountable rails engine. my configuration:\r\ngem 'activeadmin'\r\ngem 'devise'\r\n\r\nMy Engine:\r\n```ruby\r\nmodule AuthForum\r\n  class Engine < ::Rails::Engine\r\n    isolate_namespace AuthForum\r\n    initializer :auth_forum do\r\n      ActiveAdmin.application.load_paths += Dir[File.dirname(__FILE__) + '/admin']\r\n      require 'jquery-ui-rails'\r\n    end\r\n  end\r\nend\r\n```\r\nEngine Routes:\r\n```ruby\r\nAuthForum::Engine.routes.draw do\r\n  root 'welcome#index'\r\n  resources :posts\r\n  ActiveAdmin.routes(self)\r\n  devise_for :users, module: :devise\r\n  mount Forem::Engine, :at => '/forums'\r\nend\r\n```\r\nMount the engine to a application like \r\n```ruby\r\nmount AuthForum::Engine => '/'\r\n```\r\nactive admin resources located at app/auth_forum//admin directory.\r\n\r\nwhen i try to access admin like http://localhost:3000/admin then it return me error \r\nuninitialized constant AuthForum::Admin\r\n\r\nI am stuck here from 7 days. Could you please help me out?\r\n\r\nThank you "},"comment":{"url":"https://api.github.com/repos/activeadmin/activeadmin/issues/comments/132102803","html_url":"https://github.com/activeadmin/activeadmin/issues/4069#issuecomment-132102803","issue_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4069","id":132102803,"user":{"login":"timoschilling","id":165599,"avatar_url":"https://avatars.githubusercontent.com/u/165599?v=3","gravatar_id":"","url":"https://api.github.com/users/timoschilling","html_url":"https://github.com/timoschilling","followers_url":"https://api.github.com/users/timoschilling/followers","following_url":"https://api.github.com/users/timoschilling/following{/other_user}","gists_url":"https://api.github.com/users/timoschilling/gists{/gist_id}","starred_url":"https://api.github.com/users/timoschilling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timoschilling/subscriptions","organizations_url":"https://api.github.com/users/timoschilling/orgs","repos_url":"https://api.github.com/users/timoschilling/repos","events_url":"https://api.github.com/users/timoschilling/events{/privacy}","received_events_url":"https://api.github.com/users/timoschilling/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T07:32:23Z","updated_at":"2015-08-18T07:32:23Z","body":"I have never used that bevor by my self, so I need to test it."}}