Merge branch 'nccu_0509' of https://github.com/Rulingcom/orbit into nccu_0509

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-05-18 10:52:16 +08:00
commit 1d9fc7eb75
14 files changed
+145 -50

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ class Admin::AssetsController < OrbitBackendController
def create
@asset = Asset.new(params[:asset])
@asset.filename = @asset.i18n_variable[I18n.locale] rescue nil
@asset.filename = @asset.title[I18n.locale] rescue nil
if @asset.filename && @asset.save
respond_to do |format|
format.js {