Proof i18n_variable for categories
This commit is contained in:
1 parent
a2637008e0
commit
8ad7f70822
17 files changed
+11
-17
No files matched your search
@@ -17,7 +17,6 @@ class Admin::AssetCategoriesController < OrbitBackendController
|
||||
|
||||
def edit
|
||||
@asset_category = AssetCategory.find(params[:id])
|
||||
@i18n_variable = @asset_category.i18n_variable
|
||||
@url = admin_asset_categories_path(@asset_category)
|
||||
end
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@ class Admin::InfosController < ApplicationController
|
||||
|
||||
def edit
|
||||
@attribute = Info.find(params[:id])
|
||||
@i18n_variable = @attribute.i18n_variable
|
||||
render :template => 'admin/attributes/edit'
|
||||
end
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@ class Admin::RolesController < ApplicationController
|
||||
|
||||
def edit
|
||||
@attribute = Role.find(params[:id])
|
||||
@i18n_variable = @attribute.i18n_variable
|
||||
render :template => 'admin/attributes/edit'
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user