spec/dummy/app/controllers/users_controller.rb in rails_amp-0.2.0 vs spec/dummy/app/controllers/users_controller.rb in rails_amp-0.2.1
- old
+ new
@@ -1,7 +1,8 @@
# Just for test.
class UsersController < ApplicationController
def index
+ redirect_to root_path if params['redirect_test'].to_s == "true"
end
def show
end