Commit Graph

164 Commits

Author SHA1 Message Date
Marcin Kulik
ece7bfa909 Fix ApplicationController#current_user 2012-03-02 22:33:13 +01:00
Micha Wrobel
2669bbb310 Don't use assigns(:current_user) in spec 2012-02-26 20:10:09 +01:00
Marcin Kulik
d0e0ec4f88 Use :alert (supported directly by redirect_to) instead of :error. 2012-02-26 18:39:46 +01:00
Micha Wrobel
c4763bb566 Improve controller specs, tiny refactoring 2012-02-26 18:13:46 +01:00
Micha Wrobel
ce67e84a60 Don't raise AR::RecordNotFound if there is no id 2012-02-26 17:57:46 +01:00
Micha Wrobel
1b33acb937 Make sure that @current_user is also set and cleared 2012-02-26 16:33:37 +01:00
Micha Wrobel
bf6b74289b Add omniauth authentication: github and twitter 2012-02-25 23:43:17 +01:00
Marcin Kulik
28b07a88ed Return Location header on successful upload 2012-01-15 15:07:12 +01:00
Marcin Kulik
59dbd5aea3 Api::AsciicastsController 2012-01-14 21:27:10 +01:00
Marcin Kulik
140cc1c0fc Asciicasts#show (available at /:id) 2011-11-27 13:54:10 +01:00
Marcin Kulik
c5de80788a Asciicast model 2011-11-23 22:31:00 +01:00
Marcin Kulik
9fee724e99 Rescue from RecordNotFound 2011-11-23 22:27:38 +01:00
Marcin Kulik
2abdf89511 404 handling 2011-11-23 21:47:09 +01:00
Marcin Kulik
89a29aadd2 Fresh Rails 3.1 app with DM 1.2 and RSpec 2.7 2011-11-21 22:36:42 +01:00