Skip to content
  • Antonio Terceiro's avatar
    Support running Noosfero as a /subdirectory · 30560212
    Antonio Terceiro authored
    - Remove absolute URL's from stylesheets and javascripts
    - Handle prefix in LinkListBlock
    - add Noosfero.root method as a central data source
    
    The application server needs to be started with the
    RAILS_RELATIVE_URL_ROOT environment variable set to the desired prefix.
    
    In development, this can be tested with
    
      # assuming /social prefix
      $ RAILS_RELATIVE_URL_ROOT=/social thin --prefix /social start
    
    For production, see INSTALL.md
    30560212