現在下記のエラーが出ております
状況としては、ログイン機能を作ろうと思いgemをいれている所です
下記にroutes 影響しているとでるのですが、いろいろ対応しても解決方法がわかりません
色々ググるのですが、うまく解決してくれる方法がわからず
ルートが影響している様子、ルートをいろいろ変えたり
変更してみたりはするのですが・・・・
何とぞご意見を頂ければと思います
宜しくお願い致します。
エラー
vagrant@vagrant-ubuntu-trusty:~/workspace/facebook$ rake routes rake aborted! NameError: undefined local variable or method `ã' for #<ActionDispatch::Routing::Mapper:0x007f16af8e4078> /home/vagrant/workspace/facebook/config/routes.rb:3:in `block in <top (required)>' /home/vagrant/workspace/facebook/config/routes.rb:1:in `<top (required)>' /home/vagrant/workspace/facebook/config/environment.rb:5:in `<top (required)>' Tasks: TOP => routes => environment (See full trace by running task with --trace) vagrant@vagrant-ubuntu-trusty:~/workspace/facebook$
routes.rb ルート
Rails.application.routes.draw do resources:blogs,only:[:index,:new,:create,:edit,:update,:destroy]do collection do post :confirm end devise_for :users end root 'top#index'
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/07/15 11:19