Class: Snapshots::ResponseController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/snapshot_inspector/snapshots/response_controller.rb

Instance Method Summary collapse

Instance Method Details

#rawObject



11
12
13
# File 'app/controllers/snapshot_inspector/snapshots/response_controller.rb', line 11

def raw
  @snapshot = Snapshot.find(params[:slug])
end

#showObject



7
8
9
# File 'app/controllers/snapshot_inspector/snapshots/response_controller.rb', line 7

def show
  @snapshot = Snapshot.find(params[:slug])
end