Sha256: d7f1812c8b91004f72167d18465cc10f08393ccabe0d1c5e92e31afa92179b4b
Contents?: true
Size: 261 Bytes
Versions: 11
Compression:
Stored size: 261 Bytes
Contents
# Changes context for users to represent other subjects class RepresentationsController < ApplicationController def create self.current_subject = Representation.new(params[:representation]).subject redirect_to(request.referer || home_path) end end
Version data entries
11 entries across 11 versions & 1 rubygems