created items and configured back office ui a bit
This commit is contained in:
19
config/cloudinary.yml
Normal file
19
config/cloudinary.yml
Normal 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
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user