refactor and styling change, add button logick, add i18n logic
This commit is contained in:
@@ -5,6 +5,9 @@ module Suppliers
|
||||
# GET /sections.json
|
||||
def index
|
||||
@sections = current_supplier.sections
|
||||
@sections.include_relation(:table)
|
||||
@active_lists = current_supplier.active_lists
|
||||
@active_table_ids = @active_lists.map(&:table_id).compact
|
||||
|
||||
respond_to do |format|
|
||||
format.html # index.html.erb
|
||||
|
||||
Reference in New Issue
Block a user