scsslint, flash styling, new parent start
This commit is contained in:
@ -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