Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
venshop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huanvl
venshop
Commits
eca25b69
Commit
eca25b69
authored
Oct 24, 2013
by
vulehuan
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change entity name
parent
9443db4f
Show whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
32 additions
and
36 deletions
+32
-36
venshop_app/app/assets/javascripts/cards.js.coffee
+0
-0
venshop_app/app/assets/javascripts/product_categories.js.coffee
+0
-0
venshop_app/app/assets/javascripts/products.js.coffee
+0
-0
venshop_app/app/assets/javascripts/users.js.coffee
+0
-3
venshop_app/app/assets/stylesheets/cards.css.scss
+1
-1
venshop_app/app/assets/stylesheets/product_categories.css.scss
+1
-1
venshop_app/app/assets/stylesheets/products.css.scss
+1
-1
venshop_app/app/assets/stylesheets/users.css.scss
+0
-3
venshop_app/app/controllers/cards_controller.rb
+1
-1
venshop_app/app/controllers/product_categories_controller.rb
+1
-1
venshop_app/app/controllers/products_controller.rb
+1
-1
venshop_app/app/helpers/cards_helper.rb
+1
-1
venshop_app/app/helpers/product_categories_helper.rb
+1
-1
venshop_app/app/helpers/products_helper.rb
+1
-1
venshop_app/app/models/product.rb
+0
-0
venshop_app/app/models/product_category.rb
+0
-0
venshop_app/app/views/card/checkout.html.erb
+0
-2
venshop_app/app/views/card/confirm_checkout.html.erb
+0
-2
venshop_app/app/views/card/index.html.erb
+0
-2
venshop_app/app/views/card/thankyou.html.erb
+0
-2
venshop_app/app/views/cards/checkout.html.erb
+2
-0
venshop_app/app/views/cards/confirm_checkout.html.erb
+2
-0
venshop_app/app/views/cards/index.html.erb
+2
-0
venshop_app/app/views/cards/thankyou.html.erb
+2
-0
venshop_app/app/views/product/index.html.erb
+0
-2
venshop_app/app/views/product/show.html.erb
+0
-2
venshop_app/app/views/product_categories/show.html.erb
+2
-0
venshop_app/app/views/product_category/show.html.erb
+0
-0
venshop_app/app/views/products/index.html.erb
+2
-0
venshop_app/app/views/products/show.html.erb
+2
-0
venshop_app/config/routes.rb
+8
-8
venshop_app/spec/models/product_categories_spec.rb
+1
-1
No files found.
venshop_app/app/assets/javascripts/card.js.coffee
→
venshop_app/app/assets/javascripts/card
s
.js.coffee
View file @
eca25b69
File moved
venshop_app/app/assets/javascripts/product.js.coffee
→
venshop_app/app/assets/javascripts/product
_categories
.js.coffee
View file @
eca25b69
File moved
venshop_app/app/assets/javascripts/product
_category
.js.coffee
→
venshop_app/app/assets/javascripts/product
s
.js.coffee
View file @
eca25b69
File moved
venshop_app/app/assets/javascripts/users.js.coffee
deleted
100644 → 0
View file @
9443db4f
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
venshop_app/app/assets/stylesheets/card.css.scss
→
venshop_app/app/assets/stylesheets/card
s
.css.scss
View file @
eca25b69
// Place all the styles related to the Card controller here.
// Place all the styles related to the Card
s
controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
venshop_app/app/assets/stylesheets/product.css.scss
→
venshop_app/app/assets/stylesheets/product
_categories
.css.scss
View file @
eca25b69
// Place all the styles related to the Product controller here.
// Place all the styles related to the Product
Categories
controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
venshop_app/app/assets/stylesheets/product
_category
.css.scss
→
venshop_app/app/assets/stylesheets/product
s
.css.scss
View file @
eca25b69
// Place all the styles related to the Product
Category
controller here.
// Place all the styles related to the Product
s
controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
venshop_app/app/assets/stylesheets/users.css.scss
deleted
100644 → 0
View file @
9443db4f
// Place all the styles related to the Users controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
venshop_app/app/controllers/card_controller.rb
→
venshop_app/app/controllers/card
s
_controller.rb
View file @
eca25b69
class
CardController
<
ApplicationController
class
Card
s
Controller
<
ApplicationController
def
index
end
...
...
venshop_app/app/controllers/product_categor
y
_controller.rb
→
venshop_app/app/controllers/product_categor
ies
_controller.rb
View file @
eca25b69
class
ProductCategor
y
Controller
<
ApplicationController
class
ProductCategor
ies
Controller
<
ApplicationController
def
show
end
end
venshop_app/app/controllers/product_controller.rb
→
venshop_app/app/controllers/product
s
_controller.rb
View file @
eca25b69
class
ProductController
<
ApplicationController
class
Product
s
Controller
<
ApplicationController
def
index
end
...
...
venshop_app/app/helpers/card_helper.rb
→
venshop_app/app/helpers/card
s
_helper.rb
View file @
eca25b69
module
CardHelper
module
Card
s
Helper
end
venshop_app/app/helpers/product_categor
y
_helper.rb
→
venshop_app/app/helpers/product_categor
ies
_helper.rb
View file @
eca25b69
module
ProductCategor
y
Helper
module
ProductCategor
ies
Helper
end
venshop_app/app/helpers/product_helper.rb
→
venshop_app/app/helpers/product
s
_helper.rb
View file @
eca25b69
module
ProductHelper
module
Product
s
Helper
end
venshop_app/app/models/product.rb
View file @
eca25b69
venshop_app/app/models/product_category.rb
View file @
eca25b69
venshop_app/app/views/card/checkout.html.erb
deleted
100644 → 0
View file @
9443db4f
<h1>
Card#checkout
</h1>
<p>
Find me in app/views/card/checkout.html.erb
</p>
venshop_app/app/views/card/confirm_checkout.html.erb
deleted
100644 → 0
View file @
9443db4f
<h1>
Card#confirm_checkout
</h1>
<p>
Find me in app/views/card/confirm_checkout.html.erb
</p>
venshop_app/app/views/card/index.html.erb
deleted
100644 → 0
View file @
9443db4f
<h1>
Card#index
</h1>
<p>
Find me in app/views/card/index.html.erb
</p>
venshop_app/app/views/card/thankyou.html.erb
deleted
100644 → 0
View file @
9443db4f
<h1>
Card#thankyou
</h1>
<p>
Find me in app/views/card/thankyou.html.erb
</p>
venshop_app/app/views/cards/checkout.html.erb
0 → 100644
View file @
eca25b69
<h1>
Cards#checkout
</h1>
<p>
Find me in app/views/cards/checkout.html.erb
</p>
venshop_app/app/views/cards/confirm_checkout.html.erb
0 → 100644
View file @
eca25b69
<h1>
Cards#confirm_checkout
</h1>
<p>
Find me in app/views/cards/confirm_checkout.html.erb
</p>
venshop_app/app/views/cards/index.html.erb
0 → 100644
View file @
eca25b69
<h1>
Cards#index
</h1>
<p>
Find me in app/views/cards/index.html.erb
</p>
venshop_app/app/views/cards/thankyou.html.erb
0 → 100644
View file @
eca25b69
<h1>
Cards#thankyou
</h1>
<p>
Find me in app/views/cards/thankyou.html.erb
</p>
venshop_app/app/views/product/index.html.erb
deleted
100644 → 0
View file @
9443db4f
<h1>
Product#index
</h1>
<p>
Find me in app/views/product/index.html.erb
</p>
venshop_app/app/views/product/show.html.erb
deleted
100644 → 0
View file @
9443db4f
<h1>
Product#show
</h1>
<p>
Find me in app/views/product/show.html.erb
</p>
venshop_app/app/views/product_categories/show.html.erb
0 → 100644
View file @
eca25b69
<h1>
ProductCategories#show
</h1>
<p>
Find me in app/views/product_categories/show.html.erb
</p>
venshop_app/app/views/product_category/show.html.erb
deleted
100644 → 0
View file @
9443db4f
venshop_app/app/views/products/index.html.erb
0 → 100644
View file @
eca25b69
<h1>
Products#index
</h1>
<p>
Find me in app/views/products/index.html.erb
</p>
venshop_app/app/views/products/show.html.erb
0 → 100644
View file @
eca25b69
<h1>
Products#show
</h1>
<p>
Find me in app/views/products/show.html.erb
</p>
venshop_app/config/routes.rb
View file @
eca25b69
VenshopApp
::
Application
.
routes
.
draw
do
get
"card/index"
get
"card/checkout"
get
"card/confirm_checkout"
get
"card/thankyou"
get
"product/index"
get
"product/show"
get
"product_categories/show"
get
"products/index"
get
"products/show"
get
"cards/index"
get
"cards/checkout"
get
"cards/confirm_checkout"
get
"cards/thankyou"
resources
:users
resources
:sessions
,
only:
[
:new
,
:create
,
:destroy
]
resources
:product_categories
resources
:products
resources
:
card
s
resources
:
product_categogie
s
get
"default_pages/home"
get
"users/new"
match
'/signup'
,
to:
'users#new'
,
via:
'get'
...
...
venshop_app/spec/models/product_categor
y
_spec.rb
→
venshop_app/spec/models/product_categor
ies
_spec.rb
View file @
eca25b69
require
'spec_helper'
describe
ProductCategor
y
do
describe
ProductCategor
ies
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment