Sha256: ec590ecdcd0b89b6b2d03222e2404d2b891c76d92ded41b80af9d8e480ed9f11
Contents?: true
Size: 558 Bytes
Versions: 3
Compression:
Stored size: 558 Bytes
Contents
module RedmineExtensions module RedminePatches module Controllers module VersionsControllerPatch extend ActiveSupport::Concern included do alias_method_chain :new, :redmine_extensions end def new_with_redmine_extensions @version = @project.versions.build @version.safe_attributes = params[:version] respond_to do |format| format.html { render action: 'new', layout: !request.xhr? } format.js end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems