scsslint, flash styling, new parent start
This commit is contained in:
1 parent
d123e63b76
commit
9f6813c7f2
14 files changed
+147
-26
No files matched your search
@@ -3,4 +3,16 @@ class ParentsController < ApplicationController
|
||||
@parents = Person.just_parents
|
||||
respond_with @parents
|
||||
end
|
||||
|
||||
def show
|
||||
@parent = Person.just_parents.where(id: params[:id])
|
||||
end
|
||||
|
||||
def new
|
||||
end
|
||||
|
||||
def add
|
||||
ap params
|
||||
redirect_to list_parents_path
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user