routing fixes
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
.page-header
|
= top_bar title: 'history_list.title' do
|
||||||
h1.page-title data-t="history_list.title" = t('user.history_list.title', list: List.model_name.human)
|
.pull-right
|
||||||
|
.table-number
|
||||||
|
.supplier-name
|
||||||
dl.dl-horizontal
|
dl.dl-horizontal
|
||||||
dt data-t="attributes.list.created_at" = List.human_attribute_name(:created_at)
|
dt data-t="attributes.list.created_at" = List.human_attribute_name(:created_at)
|
||||||
dd.list-created-at
|
dd.list-created-at
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
.page-header
|
= top_bar title: 'list_history.title' do
|
||||||
h1 data-t="list_history.title" = t('user.list_history.title')
|
span
|
||||||
nav.pagination
|
nav.pagination
|
||||||
ul#list-history-container
|
ul#list-history-container
|
||||||
- onload_javascript "Qstorage.page = 1; Quser.load_list_history()"
|
- onload_javascript "Qstorage.page = 1; Quser.load_list_history()"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
.page-header
|
= top_bar title: 'show_products.title' do
|
||||||
.table-number
|
.pull-right
|
||||||
.supplier-name
|
.table-number
|
||||||
h4= t('user.show_products.title', products: Product.model_name.human_plural)
|
.supplier-name
|
||||||
.well
|
.well
|
||||||
table#products-table.table.table-hover
|
table#products-table.table.table-hover
|
||||||
tbody
|
tbody
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@ Qwaiter::Application.routes.draw do
|
|||||||
|
|
||||||
# USER
|
# USER
|
||||||
#default_url_options format: 'html'
|
#default_url_options format: 'html'
|
||||||
get '/user/home' => 'index#home', as: :user_root
|
get '/user/index' => 'user#index', as: :user_root
|
||||||
get '/user' => 'user#index'
|
get '/user' => 'user#index'
|
||||||
get '/user/active_list(.:format)' => 'user#active_list', as: :user_active_list
|
get '/user/active_list(.:format)' => 'user#active_list', as: :user_active_list
|
||||||
get '/user/list_info' => 'user#list_info', as: :user_list_info, via: [:get, :options]
|
get '/user/list_info' => 'user#list_info', as: :user_list_info, via: [:get, :options]
|
||||||
|
|||||||
Reference in New Issue
Block a user