title: Rails - Devise Gem remove Sign up and Forgot Password modules
body: <p>I work <code>Rails 4</code> with <code>Devise</code> gem for User authentication, In my project also working fine with <code>Devise</code> gem. But I want to remove the features of <code>Sign up</code> and <code>Forgot Password</code> modules.</p>
  
  <p>For removing <code>sign_up</code>,
    In <code>config/routes.rb</code> file using <code>skip</code> option like,</p>
  
  <pre><code>devise :users, :skip =&gt; :registration
  </code></pre>
  
  <p>It removes the sign_up module also truncated <code>path generation</code>. This is fine.</p>
  
  <p>But the same way, if I include this option for <code>Forgot password</code> </p>
  
  <pre><code>devise :users, :skip =&gt; :recover   
       or
  devise :users, :skip =&gt; :recoverable
  </code></pre>
  
  <p>it won't work. I need to hide both modules in the same way of method.</p>
  
  <p>How to achieve this? Thanks in advance..</p>