mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 00:00:12 +01:00
Code style fixes
This commit is contained in:
parent
c6bbc67dab
commit
d8acf60049
72 changed files with 458 additions and 594 deletions
|
|
@ -1,5 +1,4 @@
|
|||
class NotesController < ApplicationController
|
||||
|
||||
before_action :set_source_view
|
||||
|
||||
def index
|
||||
|
|
@ -9,7 +8,7 @@ class NotesController < ApplicationController
|
|||
@source_view = 'note_list'
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.xml { render :xml => @all_notes.to_xml(:root => :notes, :except => :user_id ) }
|
||||
format.xml { render :xml => @all_notes.to_xml(:root => :notes, :except => :user_id) }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
@ -75,5 +74,4 @@ class NotesController < ApplicationController
|
|||
def note_params
|
||||
params.require(:note).permit(:project_id, :body)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue