Fix public_r_tag selection
This commit is contained in:
1 parent
ad9b91f792
commit
caac9191ce
4 files changed
+8
-4
No files matched your search
@@ -126,7 +126,8 @@ class Admin::PagePartsController < ApplicationController
|
||||
end
|
||||
|
||||
def reload_r_tag_options
|
||||
@r_tag = (ModuleApp.find(params[:id]) rescue nil) || params[:id]
|
||||
@part = PagePart.find params[:id]
|
||||
@r_tag = params[:type]
|
||||
@tag_objects = @r_tag.classify.constantize.all rescue nil
|
||||
respond_to do |format|
|
||||
format.js {}
|
||||
|
||||
Reference in new issue
Block a user