edit tags
This commit is contained in:
1 parent
af3a2547e1
commit
edf236c1c7
89 files changed
+2130
-1
No files matched your search
@@ -23,7 +23,7 @@ class Admin::TagsController < ApplicationController
|
||||
@tag = Tag.create(params[:tag])
|
||||
else
|
||||
module_app = ModuleApp.find(params[:tag][:module_app_id])
|
||||
@tag = eval("#{module_app.key.capitalize}Tag").create(params[:tag])
|
||||
@tag = eval("#{module_app.key.camelize}Tag").create(params[:tag])
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user