daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest Oct 12th, 2017 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class WelcomeController < ApplicationController
  2.   def index
  3.     @message = "Первый в мире удобный менеджер флеш-карточек. Именно так."
  4.  
  5.     @card = Card.random_card
  6.   end
  7.  
  8.   def rand
  9.    
  10.   end
  11.  
  12. =begin def check
  13.     @translated_text = params[:original_text]
  14.     if @card.chech_translation
  15.       redirect_to :back,
  16.        flash[:notice] =  "Правильно!"
  17.     else
  18.       redirect_to :back,
  19.       flash[:notice] =  "Ошибка!"
  20.     end
  21.   end
  22. =end
  23.  
  24.   private
  25.    
  26.   end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top