saasbook/esaas-engagements

View on GitHub
app/controllers/apps/comments_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Apps::CommentsController < CommentsController
    before_action :set_commentable

private
    def set_commentable
        @commentable = App.find(params[:app_id])
    end
end