created items and configured back office ui a bit

This commit is contained in:
Senad Uka
2015-01-18 10:24:15 +01:00
parent 6d1ac88a7f
commit d09bc71aae
32 changed files with 368 additions and 7 deletions

19
config/cloudinary.yml Normal file
View File

@@ -0,0 +1,19 @@
---
development:
cloud_name: lfvt7ps2n
api_key: '128267513872316'
api_secret: OiLGZbAFd3vcY31ytuYlyBdIi9c
enhance_image_tag: true
static_image_support: false
production:
cloud_name: lfvt7ps2n
api_key: '128267513872316'
api_secret: OiLGZbAFd3vcY31ytuYlyBdIi9c
enhance_image_tag: true
static_image_support: true
test:
cloud_name: lfvt7ps2n
api_key: '128267513872316'
api_secret: OiLGZbAFd3vcY31ytuYlyBdIi9c
enhance_image_tag: true
static_image_support: false

View File

@@ -1,12 +1,17 @@
Rails.application.routes.draw do
resources :multi_media_descriptions do as_routes end
resources :sections do as_routes end
resources :media_types do as_routes end
resources :items do as_routes end
resources :units do as_routes end
resources :sub_categories do as_routes end
resources :categories do as_routes end
# The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes".
# You can have the root of your site routed with "root"
# root 'welcome#index'
root 'items#index'
# Example of regular route:
# get 'products/:id' => 'catalog#view'