app/controllers/gallery_images_controller.rb
# TEMP, TODO - we need to get CKeditor to pass the CSRF params
TEMP, TODO - we need to get CKeditor to pass the CSRF params
TEMP TODO - we need to get CKeditor to pass the CSRF params
def index
    @CKEditorFuncNum = params[:CKEditorFuncNum]
    @type = params[:type]
    @images = eval(@type).where(:gallery => params[:gallery])
    render :layout => 'plain'
  end
def index @CKEditorFuncNum = params [ :CKEditorFuncNum ] @type = params [ :type ] @images = eval ( @type ) . where ( :gallery => params [ :gallery ] ) render :layout => 'plain' end
TEMP, TODO - we need to get CKeditor to pass the CSRF params
TEMP TODO - we need to get CKeditor to pass the CSRF params