Merge pull request #306 from wvengen/feature-styling

allow foodcoops to add custom css
This commit is contained in:
wvengen 2014-09-02 13:59:18 +02:00
commit 97dc090e4d
5 changed files with 37 additions and 0 deletions

View file

@ -86,6 +86,9 @@ default: &defaults
# Page footer (html allowed). Default is a Foodsoft footer. Set to `blank` for no footer.
#page_footer: <a href="http://www.foodcoop.test/">FC Test</a> is supported by <a href="http://www.hoster.test/">Hoster</a>.
# Custom css for the foodcoop
#custom_css: 'body { background-color: #fcffba; }'
# email address to be used as sender
email_sender: foodsoft@foodcoop.test

View file

@ -24,6 +24,8 @@ Foodsoft::Application.routes.draw do
match '/login/accept_invitation/:token' => 'login#accept_invitation', as: :accept_invitation, via: [:get, :post]
resources :sessions, :only => [:new, :create, :destroy]
get '/foodcoop.css' => 'styles#foodcoop', :as => 'foodcoop_css'
########### User specific
get '/home/profile', :as => 'my_profile'