Adds website link to lodging

This commit is contained in:
Gopesh Tulsyan 2014-06-14 23:32:52 +05:30
parent feabc3b954
commit 01bd45a045
7 changed files with 22 additions and 2 deletions

View file

@ -1,5 +1,5 @@
class Lodging < ActiveRecord::Base
attr_accessible :name, :description, :photo
attr_accessible :name, :description, :photo, :website_link
belongs_to :venue
has_attached_file :photo,
styles: { thumb: '100x100>', large: '300x300>' }