{"action":"closed","issue":{"url":"https://api.github.com/repos/ivaldi/brimir/issues/281","repository_url":"https://api.github.com/repos/ivaldi/brimir","labels_url":"https://api.github.com/repos/ivaldi/brimir/issues/281/labels{/name}","comments_url":"https://api.github.com/repos/ivaldi/brimir/issues/281/comments","events_url":"https://api.github.com/repos/ivaldi/brimir/issues/281/events","html_url":"https://github.com/ivaldi/brimir/issues/281","id":159770296,"number":281,"title":"Running brimir on a sub path works -- but with some caveats","user":{"login":"viddypiddy","id":1098530,"avatar_url":"https://avatars.githubusercontent.com/u/1098530?v=3","gravatar_id":"","url":"https://api.github.com/users/viddypiddy","html_url":"https://github.com/viddypiddy","followers_url":"https://api.github.com/users/viddypiddy/followers","following_url":"https://api.github.com/users/viddypiddy/following{/other_user}","gists_url":"https://api.github.com/users/viddypiddy/gists{/gist_id}","starred_url":"https://api.github.com/users/viddypiddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viddypiddy/subscriptions","organizations_url":"https://api.github.com/users/viddypiddy/orgs","repos_url":"https://api.github.com/users/viddypiddy/repos","events_url":"https://api.github.com/users/viddypiddy/events{/privacy}","received_events_url":"https://api.github.com/users/viddypiddy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-11T11:57:16Z","updated_at":"2016-10-18T06:04:36Z","closed_at":"2016-10-18T06:04:36Z","body":"in the HTTP-server: passenger_base_uri /brimir;\r\n./config/environments/production.rb:  config.action_controller.relative_url_root = '/brimir/'\r\nSetting these parameters should as far as i know have been enough.\r\n\r\nBut these changes had to be made as well:\r\n./config/environments/production.rb:  config.tinymce.base = \"/brimir/assets/tinymce\"\r\n./app/models/attachment.rb:      url: '/brimir/attachments/:id/:style',\r\n./app/assets/javascripts/tickets.js:      url: '/brimir/labels.json',\r\n\r\nThese are the places i have found where the root was not populated correctly.\r\nBut on the other hand there are many places where this works great.\r\n\r\nAfter these changes brimir works great on the sub-path.\r\nWould have been awesome if this somehow worked out of the box. \r\n\r\nThanks!"}}
{"actor":{"display_login":"frenkel"}}