clean controllers
This commit is contained in:
parent
5f8255ac67
commit
53421e060a
7 changed files with 60 additions and 88 deletions
|
@ -21,7 +21,6 @@ class CommitsController < ApplicationController
|
|||
respond_to do |format|
|
||||
format.html # index.html.erb
|
||||
format.js
|
||||
format.json { render json: @commits }
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -33,7 +32,6 @@ class CommitsController < ApplicationController
|
|||
respond_to do |format|
|
||||
format.html # show.html.erb
|
||||
format.js
|
||||
format.json { render json: @commit }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue