spec/dummy/app/controllers/hello_controller.rb in token_action-0.0.1 vs spec/dummy/app/controllers/hello_controller.rb in token_action-0.0.2
- old
+ new
@@ -1,25 +1,25 @@
class HelloController < ApplicationController
def hello
- render :text => 'Hello, world'
+ render text: 'Hello, world'
end
def token_success
- render :nothing => true
+ render nothing: true
end
def token_failure
- render :nothing => true
+ render nothing: true
end
def success
- render :nothing => true
+ render nothing: true
end
def failure
- render :nothing => true
+ render nothing: true
end
def not_found
- render :nothing => true
+ render nothing: true
end
end