Sha256: f76ccc8a30eec8581c9123289bc3160d0fe8927e795ed12b4d2d03d445d76ec5

Contents?: true

Size: 273 Bytes

Versions: 6

Compression:

Stored size: 273 Bytes

Contents

module PointlessFeedback
  module Controllers
    # Those helpers are convenience methods added to ApplicationController.
    module Helpers
      def after_message_create_path
        main_app.respond_to?(:root_path) ? main_app.root_path : '/'
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pointless_feedback-3.0.2 lib/pointless_feedback/controllers/helpers.rb
pointless_feedback-3.0.0 lib/pointless_feedback/controllers/helpers.rb
pointless_feedback-1.0.3 lib/pointless_feedback/controllers/helpers.rb
pointless_feedback-1.0.2 lib/pointless_feedback/controllers/helpers.rb
pointless_feedback-1.0.1 lib/pointless_feedback/controllers/helpers.rb
pointless_feedback-1.0.0 lib/pointless_feedback/controllers/helpers.rb