forked from bofh/fetsite
fotos - resized
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
<div id="gallery" data-toggle="modal-gallery" data-target="#modal-gallery">
|
<div id="gallery" data-toggle="modal-gallery" data-target="#modal-gallery">
|
||||||
<% @gallery.fotos.each do |f| %>
|
<% @gallery.fotos.each do |f| %>
|
||||||
|
|
||||||
<a href="<%= f.datei.url%>" title="<%=f.title%>" data-gallery="gallery">
|
<a href="<%= f.datei.resized.url%>" title="<%=f.title%>" data-gallery="gallery">
|
||||||
<%=image_tag(f.datei.big_thumb.url,{:class=>"img-polaroid"}) %></a>
|
<%=image_tag(f.datei.big_thumb.url,{:class=>"img-polaroid"}) %></a>
|
||||||
<% # image_tag(f.datei.url, :data => {:gallery => "gallery"}, :title => "Apple") %>
|
<% # image_tag(f.datei.url, :data => {:gallery => "gallery"}, :title => "Apple") %>
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Devise.setup do |config|
|
|||||||
config.mailer_sender = "test@example.com"
|
config.mailer_sender = "test@example.com"
|
||||||
|
|
||||||
# Configure the class responsible to send e-mails.
|
# Configure the class responsible to send e-mails.
|
||||||
# config.mailer = "Devise::Mailer"
|
config.mailer = "Devise::Mailer"
|
||||||
config.mailer.default_url_options = { :host => 'glonass.htu.tuwien.ac.at' }
|
config.mailer.default_url_options = { :host => 'glonass.htu.tuwien.ac.at' }
|
||||||
config.mailer.delivery_method = :sendmail
|
config.mailer.delivery_method = :sendmail
|
||||||
# config.mailer.smtp_settings = {
|
# config.mailer.smtp_settings = {
|
||||||
|
|||||||
Reference in New Issue
Block a user