Created
December 16, 2015 16:47
-
-
Save robypez/c52a3e9d9eb35a67b13d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RatesController < ApplicationController | |
def show | |
present Rate::Update # or your normal controller code here if you don't want to use Trailblazer Operations | |
respond_with op do |format| | |
format.html{ render text: cell(:rate, @model,current_user: user), layout: false, status: status} | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment