Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [f62cf294d74a0df62e6bfc852dcbc9c9bc57eeb5] by Brian Michalski

Revision f62cf294d74a0df62e6bfc852dcbc9c9bc57eeb5, committed by Brian Michalski · January 14th, 2012 @ 02:40 AM

Adding users to documents and revisions.

Every uploaded document or revision has a user assigned to it. A user can view all the documents they've interacted with on their profile page.
https://github.com/wtg/flagship_docs/commit/f62cf294d74a0df62e6bfc8...

9 changed files

  • A db/migrate/20120114063856_add_users_to_docs_and_revs.rb
  • M app/controllers/documents_controller.rb
  • M app/controllers/revisions_controller.rb
  • M app/models/document.rb
  • M app/models/revision.rb
  • M app/models/user.rb
  • M app/views/documents/show.html.erb
  • M app/views/users/show.html.erb
  • M db/schema.rb