ryanb / letter_opener

Preview mail in the browser instead of sending.
MIT License
3.71k stars 236 forks source link

Update configuration.rb #176

Closed Kulgar closed 4 years ago

Kulgar commented 4 years ago

Re-add "extra check" that was removed from previous commit. In some ruby project (like ruby on jets project), Rails may exist, Rails may respond_to root, but root may be nil. Actually I don't see the point of removing that "extra check" and I think it is best to keep it...

nashby commented 4 years ago

@Kulgar thanks! Yeah, let's keep it.