templates/devise.rb in bear-0.0.1 vs templates/devise.rb in bear-0.0.2
- old
+ new
@@ -69,10 +69,10 @@
end
generate(:migration, "AddNameToUsers name:string")
generate(:migration, "AddDeletedAtToUsers deleted_at:datetime")
-inject_into_file 'app/views/layouts/application.html.haml', :after => "%li= link_to(\"Home\", root_path)" do
+inject_into_file 'app/views/layouts/application.html.haml', :after => "%li= link_to(\"Home\", root_path)\n" do
<<-'FILE'
- if user_signed_in?
%li
= link_to('Logout', destroy_user_session_path)
- else