 
     resources "/previews", PreviewController, only: [:create]
 
-    resources "/projects", ProjectController, except: [:delete] do
+    resources "/projects", ProjectController, only: [:index, :show, :create, :update] do
       resources "/posts", PostController, only: [:index, :show]
     end
 

    post "/login", AuthController, :create
    delete "/logout", AuthController, :delete

    resources "/categories", CategoryController, except: [:delete]

    resources "/organizations", OrganizationController, except: [:new, :edit] do
      resources "/memberships", OrganizationMembershipController, only: [:index]
    end



    get "/users/email_available", UserController, :email_available
    get "/users/username_available", UserController, :username_available
    resources "/users", UserController, only: [:index, :show, :create, :update]

    resources "/user-skills", UserSkillController, only: [:index, :show, :create, :delete]
    resources "/role-skills", RoleSkillController, only: [:index, :show, :create, :delete]

    get "/:slug", SluggedRouteController, :show
    get "/:slug/projects", ProjectController, :index
