themes fixes and versioning small fix

This commit is contained in:
Andreas Stephanides
2014-01-22 12:33:45 +01:00
parent 783b9f41c9
commit eadc5d26b4
7 changed files with 25 additions and 17 deletions

View File

@@ -45,8 +45,7 @@ class FotosController < ApplicationController
# POST /fotos.json
def create
@foto = Foto.new(params[:foto])
@foto.gallery_id = (params[:gallery_id])
@foto.gallery_id = (params[:gallery_id])
@gallery = @foto.gallery
respond_to do |format|
@foto.title = @foto.datei.filename