{"action":"created","issue":{"url":"https://api.github.com/repos/loomio/loomio/issues/1848","repository_url":"https://api.github.com/repos/loomio/loomio","labels_url":"https://api.github.com/repos/loomio/loomio/issues/1848/labels{/name}","comments_url":"https://api.github.com/repos/loomio/loomio/issues/1848/comments","events_url":"https://api.github.com/repos/loomio/loomio/issues/1848/events","html_url":"https://github.com/loomio/loomio/issues/1848","id":55384868,"number":1848,"title":"Pull out Loomio.org specific code into plugin","user":{"login":"denjello","id":6129121,"avatar_url":"https://avatars.githubusercontent.com/u/6129121?v=3","gravatar_id":"","url":"https://api.github.com/users/denjello","html_url":"https://github.com/denjello","followers_url":"https://api.github.com/users/denjello/followers","following_url":"https://api.github.com/users/denjello/following{/other_user}","gists_url":"https://api.github.com/users/denjello/gists{/gist_id}","starred_url":"https://api.github.com/users/denjello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denjello/subscriptions","organizations_url":"https://api.github.com/users/denjello/orgs","repos_url":"https://api.github.com/users/denjello/repos","events_url":"https://api.github.com/users/denjello/events{/privacy}","received_events_url":"https://api.github.com/users/denjello/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-24T21:08:51Z","updated_at":"2016-03-01T21:46:01Z","closed_at":null,"body":"in /config/routes.rb there are hard coded links to loomio.org:\r\n\r\n```\r\n  constraints(GroupSubdomainConstraint) do\r\n    get '/about' => redirect('https://www.loomio.org/about')\r\n    get '/privacy' => redirect('https://www.loomio.org/privacy')\r\n    get '/purpose' => redirect('https://www.loomio.org/purpose')\r\n    get '/services' => redirect('https://www.loomio.org/services')\r\n    get '/terms_of_service' => redirect('https://www.loomio.org/terms_of_service')\r\n    get '/third_parties' => redirect('https://www.loomio.org/third_parties')\r\n    get '/try_it' => redirect('https://www.loomio.org/try_it')\r\n    get '/wallets' => redirect('https://www.loomio.org/wallets')\r\n  end\r\n\r\n  get '/crowd'              => redirect('https://love.loomio.org/')\r\n\r\n  get '/blog'       => redirect('http://blog.loomio.org')\r\n  get '/press'      => redirect('http://blog.loomio.org/press-pack')\r\n  get '/press-pack' => redirect('http://blog.loomio.org/press-pack')\r\n  get '/roadmap'    => redirect('https://trello.com/b/tM6QGCLH/loomio-roadmap')\r\n  get '/community'  => redirect('https://www.loomio.org/g/WmPCB3IR/loomio-community')\r\n  get '/timeline'   => redirect('http://www.tiki-toki.com/timeline/entry/313361/Loomio')\r\n```\r\n\r\nI would think that this behaviour is something that should be turned on in `/config/environment/production.rb` or at least provided by a variable such as `config.action_controller.root_host`"},"comment":{"url":"https://api.github.com/repos/loomio/loomio/issues/comments/190920345","html_url":"https://github.com/loomio/loomio/issues/1848#issuecomment-190920345","issue_url":"https://api.github.com/repos/loomio/loomio/issues/1848","id":190920345,"user":{"login":"gdpelican","id":750477,"avatar_url":"https://avatars.githubusercontent.com/u/750477?v=3","gravatar_id":"","url":"https://api.github.com/users/gdpelican","html_url":"https://github.com/gdpelican","followers_url":"https://api.github.com/users/gdpelican/followers","following_url":"https://api.github.com/users/gdpelican/following{/other_user}","gists_url":"https://api.github.com/users/gdpelican/gists{/gist_id}","starred_url":"https://api.github.com/users/gdpelican/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdpelican/subscriptions","organizations_url":"https://api.github.com/users/gdpelican/orgs","repos_url":"https://api.github.com/users/gdpelican/repos","events_url":"https://api.github.com/users/gdpelican/events{/privacy}","received_events_url":"https://api.github.com/users/gdpelican/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T21:46:01Z","updated_at":"2016-03-01T21:46:01Z","body":"Let's have a chat about this today @HSalmon "}}