Class: DatashiftJourney::ReviewsController

Inherits:
ApplicationController show all
Includes:
ReviewRenderer
Defined in:
app/controllers/datashift_journey/reviews_controller.rb

Instance Method Summary collapse

Methods included from ReviewRenderer

#render_state_under_review

Instance Method Details

#editObject



12
13
14
15
16
17
18
19
20
21
22
# File 'app/controllers/datashift_journey/reviews_controller.rb', line 12

def edit
  logger.info("Sent from REVIEW [#{params.inspect}]")

  respond_to do |format|
    format.html do
      setup_view_data_for_state(params['state'])

      render_state_under_review(params)
    end
  end
end