stagecoachapp / Stagecoach

rails!
http://stagecoach.herokuapp.com/
2 stars 4 forks source link

Trying to create a task when you have no projects shoots an error. #58

Closed jontonsoup closed 12 years ago

jontonsoup commented 12 years ago

NoMethodError in TasksController#index

undefined method `tasks' for nil:NilClass

gpeal commented 12 years ago

Not really a big deal. If the user isn't part of a project, they shouldn't be able to get there at all. There should still probably be error checking for safety though

On Mon, Feb 27, 2012 at 4:48 PM, Jonathan Friedman < reply@reply.github.com

wrote:

NoMethodError in TasksController#index

undefined method `tasks' for nil:NilClass


Reply to this email directly or view it on GitHub: https://github.com/New-Media/nu-new-media-film-project/issues/58

thekashifmalik commented 12 years ago

Fixed. Now if you are not part of a project, it only gives you options to create or join a project.