forked from bofh/fetsite
Themen und themes_for_rails neues design
Neues design mit theme=2003 ansehen
This commit is contained in:
@@ -59,5 +59,8 @@ module Fetsite
|
||||
|
||||
# Version of your assets, change this if you want to expire all your assets
|
||||
config.assets.version = '1.0'
|
||||
# config.themes_for_rails.views_dir='app/assets/themes'
|
||||
# config.themes_for_rails.assets_dir='app/assets/themes/assets'
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
9
config/initializers/themes_for_rails.rb
Normal file
9
config/initializers/themes_for_rails.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
ThemesForRails.config do |config|
|
||||
#
|
||||
# If you have placed your themes like the example path above within the asset pipeline:
|
||||
config.themes_dir = 'app/assets/themes'
|
||||
config.assets_dir = 'app/assets/assets/themes/:name'
|
||||
config.views_dir = 'app/views/themes/:name'
|
||||
config.use_sass=true
|
||||
# ...
|
||||
end
|
||||
@@ -1,4 +1,5 @@
|
||||
Fetsite::Application.routes.draw do
|
||||
themes_for_rails
|
||||
devise_for :users, :controllers => { :omniauth_callbacks => "users/omniauth_callbacks" }
|
||||
resources :home, :only=>[:index]
|
||||
#get 'home',:controller=>home,:action=>:index,:as=>"home_index"
|
||||
|
||||
Reference in New Issue
Block a user