Keep the number of unnecessary newlines under 5! Don't delete any relevant lines!
Press ENTER to start.
Controls: O - up, L - down, SPACE - delete line
class MakeModelGroupPriceMakeController < ApplicationController |
expose(:make_model_group_price_make) do |
MakeModelGroupPriceMakeController.where(from: params[:from]).first |
end |
def redirect |
if make_model_group_price_make |
make_model_group_price_make.increase_counter! |
redirect_to make_model_group_price_make.to_url |
else |
not_found |
end |
end |
end |