Merge branch 'friend-refactor' of github.com:diaspora/diaspora_rails into friend-refactor

This commit is contained in:
ilya 2010-08-11 19:59:29 -07:00
commit 0d97c883cf
2 changed files with 2 additions and 15 deletions

View file

@ -12,7 +12,8 @@ class AlbumsController < ApplicationController
flash[:notice] = "Successfully created album."
redirect_to @album
else
render :action => 'new'
flash[:error] = "Successfully failed."
redirect_to albums_path
end
end

View file

@ -1,14 +0,0 @@
%h1.big_text
=link_to 'albums', albums_path
>>
new album
= form_for @album do |f|
= f.error_messages
%p
= f.label :name
= f.text_field :name
%p
= f.submit
%p= link_to "Back to List", albums_path