Add projects
This commit is contained in:
10
app/controllers/projects_controller.rb
Normal file
10
app/controllers/projects_controller.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class ProjectsController < ApplicationController
|
||||
|
||||
def index
|
||||
@projects = Project.all
|
||||
end
|
||||
|
||||
def show
|
||||
@project = Project.find(params[:id])
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user