Skip to content

Commit

Permalink
Merge pull request #43 from wtfnath/main
Browse files Browse the repository at this point in the history
Views de anamnese criada
  • Loading branch information
KelwinJonas authored Oct 26, 2020
2 parents ca5ba62 + c437a9b commit 07cfd79
Show file tree
Hide file tree
Showing 12 changed files with 288 additions and 254 deletions.
Binary file added Postmortem3.pdf
Binary file not shown.
2 changes: 2 additions & 0 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
@import "bootstrap"

//= require_tree
4 changes: 2 additions & 2 deletions app/controllers/anamneses_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def create

respond_to do |format|
if @anamnese.save
format.html { redirect_to @anamnese, notice: 'Anamnese was successfully created.' }
format.html { redirect_to @anamnese, notice: 'Anamnese criada com sucesso.' }
format.json { render :show, status: :created, location: @anamnese }
else
format.html { render :new }
Expand Down Expand Up @@ -62,7 +62,7 @@ def update
def destroy
@anamnese.destroy
respond_to do |format|
format.html { redirect_to anamneses_url, notice: 'Anamnese was successfully destroyed.' }
format.html { redirect_to anamneses_url, notice: 'Anamnese deletada com sucesso.' }
format.json { head :no_content }
end
end
Expand Down
Loading

0 comments on commit 07cfd79

Please sign in to comment.