Luis Ramos
|
001d40d691
|
Move require_login_then_redirect_to to the only place where it is called
This fixes a class loading issue where orders controllers was getting a undefined method require_login_then_redirect_to
|
2020-07-17 14:35:42 +01:00 |
|
Luis Ramos
|
144811268e
|
Adapt require statements to new undecorated classes
|
2020-07-15 14:53:35 +01:00 |
|
Luis Ramos
|
7a03f57da0
|
Merge shipment decorator with class brought from spree_core
|
2020-07-02 21:24:14 +01:00 |
|
Luis Ramos
|
b879439d58
|
Use rubocop auto correct to fix Style/SafeNavigation issue
|
2020-06-22 16:51:46 +01:00 |
|
Luis Ramos
|
f848a89a00
|
Rename update_attributes to update #rails4
|
2020-06-22 16:51:43 +01:00 |
|
Luis Ramos
|
8a61257547
|
Rename all before_filter to before_action, it's the same function with a new name
|
2020-06-22 13:11:57 +01:00 |
|
Luis Ramos
|
b7c0caf883
|
Add needed permitted attributes to orders_controller
|
2020-03-21 20:30:34 +00:00 |
|
Luis Ramos
|
d496a4bdc8
|
Add strong parameters permits to some controllers
|
2020-03-21 20:30:34 +00:00 |
|
Matt-Yorkley
|
53645517af
|
Update deprecated #find_by_* methods
|
2020-02-22 11:06:51 +00:00 |
|
Luis Ramos
|
ea75714561
|
Merge pull request #4635 from luisramos0/main_app_routes
Replace use of spree.root_path and root_url with main_app.root_path and main_app.root_url
|
2020-02-04 16:02:48 +00:00 |
|
luisramos0
|
108f57a705
|
Replace adjustment.open with adjustment.fire_events(open) to avoid method name conflict
|
2020-01-02 16:58:11 +00:00 |
|
luisramos0
|
a8a6fce385
|
Prefix root_path with main_app so that ofn's route is used. The spree root path will no longer be defined when spree_backend is dropped
|
2019-12-28 18:45:57 +00:00 |
|
luisramos0
|
9404aacfb2
|
run rubocop --auto-correct
|
2019-11-10 18:42:43 +00:00 |
|
luisramos0
|
eab6cc563b
|
Fix rubocop issues
|
2019-06-18 10:49:20 +01:00 |
|
luisramos0
|
02b9fca620
|
Remove unused spree checkout and spree cart routes
|
2019-06-18 10:49:19 +01:00 |
|
luisramos0
|
40f7d07e27
|
Remove unnecessary method from spree storecontroller and spree orderscontroller
|
2019-06-18 10:47:34 +01:00 |
|
luisramos0
|
56db90f49e
|
Remove unused checkout controller update action and order controller populate action
Additionally, remove routes of these actions as well as routes already defined in routes.rb (checkout and cart)
|
2019-06-18 10:47:34 +01:00 |
|
luisramos0
|
a8b4037885
|
Remove dependency to coupon code logic in checkoutcontroller, ofn doesnt have that feature
|
2019-06-18 10:47:34 +01:00 |
|
luisramos0
|
5037cce6f5
|
Add all the code missing from checkout, order and store controllers to ofn controllers
|
2019-06-18 10:47:34 +01:00 |
|
luisramos0
|
c399491314
|
Move spree frontend routes to ofn and transform decorators with class_eval to controller classes
|
2019-06-18 10:47:34 +01:00 |
|