Sha256: 5116ce513adb9ddce12e06df1fbab94525108cb3710070f5aca63023079a8b41
Contents?: true
Size: 513 Bytes
Versions: 32
Compression:
Stored size: 513 Bytes
Contents
module NavigationHelpers module Refinery module Authentication def path_to(page_name) case page_name when /the list of users/ admin_users_path when /the login page/ new_user_session_path when /the forgot password page/ new_user_password_path when /the reset password page/ edit_user_password_path(:reset_password_token => @user.reset_password_token) else nil end end end end end
Version data entries
32 entries across 32 versions & 2 rubygems