removed redundant ribica name from subfolders
This commit is contained in:
5
back-office/app/controllers/application_controller.rb
Normal file
5
back-office/app/controllers/application_controller.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class ApplicationController < ActionController::Base
|
||||
# Prevent CSRF attacks by raising an exception.
|
||||
# For APIs, you may want to use :null_session instead.
|
||||
protect_from_forgery with: :exception
|
||||
end
|
||||
4
back-office/app/controllers/categories_controller.rb
Normal file
4
back-office/app/controllers/categories_controller.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
class CategoriesController < ApplicationController
|
||||
active_scaffold :"category" do |conf|
|
||||
end
|
||||
end
|
||||
0
back-office/app/controllers/concerns/.keep
Normal file
0
back-office/app/controllers/concerns/.keep
Normal file
6
back-office/app/controllers/items_controller.rb
Normal file
6
back-office/app/controllers/items_controller.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class ItemsController < ApplicationController
|
||||
active_scaffold :"item" do |conf|
|
||||
conf.columns[:unit].form_ui = :select
|
||||
conf.columns[:sub_category].form_ui = :select
|
||||
end
|
||||
end
|
||||
4
back-office/app/controllers/media_types_controller.rb
Normal file
4
back-office/app/controllers/media_types_controller.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
class MediaTypesController < ApplicationController
|
||||
active_scaffold :"media_type" do |conf|
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,6 @@
|
||||
class MultiMediaDescriptionsController < ApplicationController
|
||||
active_scaffold :"multi_media_description" do |conf|
|
||||
conf.columns[:media_type].form_ui = :select
|
||||
|
||||
end
|
||||
end
|
||||
4
back-office/app/controllers/sections_controller.rb
Normal file
4
back-office/app/controllers/sections_controller.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
class SectionsController < ApplicationController
|
||||
active_scaffold :"section" do |conf|
|
||||
end
|
||||
end
|
||||
5
back-office/app/controllers/sub_categories_controller.rb
Normal file
5
back-office/app/controllers/sub_categories_controller.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class SubCategoriesController < ApplicationController
|
||||
active_scaffold :"sub_category" do |conf|
|
||||
conf.columns = [:name]
|
||||
end
|
||||
end
|
||||
4
back-office/app/controllers/units_controller.rb
Normal file
4
back-office/app/controllers/units_controller.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
class UnitsController < ApplicationController
|
||||
active_scaffold :"unit" do |conf|
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user