Fixes and general progress
This commit is contained in:
		
							
								
								
									
										11
									
								
								app/helpers/routing_helper.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								app/helpers/routing_helper.rb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
module RoutingHelper
 | 
			
		||||
  extend ActiveSupport::Concern
 | 
			
		||||
  include Rails.application.routes.url_helpers
 | 
			
		||||
  include GrapeRouteHelpers::NamedRouteMatcher
 | 
			
		||||
 | 
			
		||||
  included do
 | 
			
		||||
    def default_url_options
 | 
			
		||||
      ActionMailer::Base.default_url_options
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
		Reference in New Issue
	
	Block a user