Sha256: b07176d75a4ddcc2e27a7b55030e25e90afa7aa8c883c1b0b83e9ad706ae3b57
Contents?: true
Size: 344 Bytes
Versions: 17
Compression:
Stored size: 344 Bytes
Contents
module PostmanMta class MessagesController < ApplicationController def show render message.find(params[:token]) end def create render message.create(message_params) end private def message @message ||= PostmanMta::Message.new end def message_params params.permit! end end end
Version data entries
17 entries across 17 versions & 1 rubygems