Hi,

In the agility tutorial, how do I allow project owners to create
stories in their projects?

During execution, the createable_by? method of stories.rb has the
project variable nil, and the following code doesn't work:

def creatable_by?(user)
    user.administrator? || user == project.owner
end

How can I verify if the user owns the project?

Thanks,
  Tiago Franco

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to